]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
[BZ #5246] Conditionalize use of PTR_DEMANGLE.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
e10bb107
TS
12012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2
3 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4 PTR_DEMANGLE.
5
6 [BZ #5246]
7 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
8 PTR_DEMANGLE.
9
a0c2940d
JM
102012-11-04 Joseph Myers <joseph@codesourcery.com>
11
12 [BZ #14797]
13 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14 definitely overflow as x * y not x * y + z.
15 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17 * math/libm-test.inc (fma_test): Add more tests.
18 (fma_test_towardzero): Likewise.
19 (fma_test_downward): Likewise.
20 (fma_test_upward): Likewise.
21
b830319d
TS
222012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23
24 [BZ #157]
25
26 * include/stub-tag.h: Remove file.
27 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28 '#include' of it.
29 * manual/maint.texi (Porting): Don't reference it.
30 * Makerules ($(objpfx)stubs): Likewise.
31 * dirent/closedir.c: Don't include <stub-tag.h>.
32 * dirent/dirfd.c: Likewise.
33 * dirent/fdopendir.c: Likewise.
34 * dirent/getdents.c: Likewise.
35 * dirent/getdents64.c: Likewise.
36 * dirent/opendir.c: Likewise.
37 * dirent/readdir.c: Likewise.
38 * dirent/readdir64.c: Likewise.
39 * dirent/readdir64_r.c: Likewise.
40 * dirent/readdir_r.c: Likewise.
41 * dirent/rewinddir.c: Likewise.
42 * dirent/seekdir.c: Likewise.
43 * dirent/telldir.c: Likewise.
44 * gmon/profil.c: Likewise.
45 * grp/setgroups.c: Likewise.
46 * inet/if_index.c: Likewise.
47 * io/access.c: Likewise.
48 * io/chdir.c: Likewise.
49 * io/chmod.c: Likewise.
50 * io/chown.c: Likewise.
51 * io/close.c: Likewise.
52 * io/dup.c: Likewise.
53 * io/dup2.c: Likewise.
54 * io/dup3.c: Likewise.
55 * io/euidaccess.c: Likewise.
56 * io/faccessat.c: Likewise.
57 * io/fchdir.c: Likewise.
58 * io/fchmod.c: Likewise.
59 * io/fchmodat.c: Likewise.
60 * io/fchown.c: Likewise.
61 * io/fchownat.c: Likewise.
62 * io/fcntl.c: Likewise.
63 * io/flock.c: Likewise.
64 * io/fstatfs.c: Likewise.
65 * io/fstatfs64.c: Likewise.
66 * io/fstatvfs.c: Likewise.
67 * io/fstatvfs64.c: Likewise.
68 * io/futimens.c: Likewise.
69 * io/fxstat.c: Likewise.
70 * io/fxstat64.c: Likewise.
71 * io/fxstatat.c: Likewise.
72 * io/fxstatat64.c: Likewise.
73 * io/getcwd.c: Likewise.
74 * io/isatty.c: Likewise.
75 * io/lchmod.c: Likewise.
76 * io/lchown.c: Likewise.
77 * io/link.c: Likewise.
78 * io/linkat.c: Likewise.
79 * io/lseek.c: Likewise.
80 * io/lseek64.c: Likewise.
81 * io/lxstat64.c: Likewise.
82 * io/mkdir.c: Likewise.
83 * io/mkdirat.c: Likewise.
84 * io/mkfifo.c: Likewise.
85 * io/mkfifoat.c: Likewise.
86 * io/open.c: Likewise.
87 * io/open64.c: Likewise.
88 * io/openat.c: Likewise.
89 * io/openat64.c: Likewise.
90 * io/pipe.c: Likewise.
91 * io/pipe2.c: Likewise.
92 * io/poll.c: Likewise.
93 * io/posix_fadvise.c: Likewise.
94 * io/posix_fadvise64.c: Likewise.
95 * io/posix_fallocate.c: Likewise.
96 * io/posix_fallocate64.c: Likewise.
97 * io/read.c: Likewise.
98 * io/readlink.c: Likewise.
99 * io/readlinkat.c: Likewise.
100 * io/rmdir.c: Likewise.
101 * io/sendfile.c: Likewise.
102 * io/sendfile64.c: Likewise.
103 * io/statfs.c: Likewise.
104 * io/statfs64.c: Likewise.
105 * io/statvfs.c: Likewise.
106 * io/statvfs64.c: Likewise.
107 * io/symlink.c: Likewise.
108 * io/symlinkat.c: Likewise.
109 * io/ttyname.c: Likewise.
110 * io/ttyname_r.c: Likewise.
111 * io/umask.c: Likewise.
112 * io/unlink.c: Likewise.
113 * io/unlinkat.c: Likewise.
114 * io/utime.c: Likewise.
115 * io/utimensat.c: Likewise.
116 * io/write.c: Likewise.
117 * io/xmknod.c: Likewise.
118 * io/xmknodat.c: Likewise.
119 * io/xstat.c: Likewise.
120 * io/xstat64.c: Likewise.
121 * login/getpt.c: Likewise.
122 * login/grantpt.c: Likewise.
123 * login/unlockpt.c: Likewise.
124 * math/e_acoshl.c: Likewise.
125 * math/e_acosl.c: Likewise.
126 * math/e_asinl.c: Likewise.
127 * math/e_atan2l.c: Likewise.
128 * math/e_atanhl.c: Likewise.
129 * math/e_coshl.c: Likewise.
130 * math/e_expl.c: Likewise.
131 * math/e_fmodl.c: Likewise.
132 * math/e_gammal_r.c: Likewise.
133 * math/e_hypotl.c: Likewise.
134 * math/e_j0l.c: Likewise.
135 * math/e_j1l.c: Likewise.
136 * math/e_jnl.c: Likewise.
137 * math/e_lgammal_r.c: Likewise.
138 * math/e_log10l.c: Likewise.
139 * math/e_log2l.c: Likewise.
140 * math/e_logl.c: Likewise.
141 * math/e_powl.c: Likewise.
142 * math/e_rem_pio2l.c: Likewise.
143 * math/e_sinhl.c: Likewise.
144 * math/e_sqrtl.c: Likewise.
145 * math/fclrexcpt.c: Likewise.
146 * math/fedisblxcpt.c: Likewise.
147 * math/feenablxcpt.c: Likewise.
148 * math/fegetenv.c: Likewise.
149 * math/fegetexcept.c: Likewise.
150 * math/fegetround.c: Likewise.
151 * math/feholdexcpt.c: Likewise.
152 * math/fesetenv.c: Likewise.
153 * math/fesetround.c: Likewise.
154 * math/feupdateenv.c: Likewise.
155 * math/fgetexcptflg.c: Likewise.
156 * math/fraiseexcpt.c: Likewise.
157 * math/fsetexcptflg.c: Likewise.
158 * math/ftestexcept.c: Likewise.
159 * math/k_cosl.c: Likewise.
160 * math/k_rem_pio2l.c: Likewise.
161 * math/k_sinl.c: Likewise.
162 * math/k_tanl.c: Likewise.
163 * math/s_asinhl.c: Likewise.
164 * math/s_atanl.c: Likewise.
165 * math/s_cbrtl.c: Likewise.
166 * math/s_erfl.c: Likewise.
167 * math/s_expm1l.c: Likewise.
168 * math/s_log1pl.c: Likewise.
169 * math/s_tanhl.c: Likewise.
170 * misc/acct.c: Likewise.
171 * misc/brk.c: Likewise.
172 * misc/chflags.c: Likewise.
173 * misc/chroot.c: Likewise.
174 * misc/fchflags.c: Likewise.
175 * misc/fgetxattr.c: Likewise.
176 * misc/flistxattr.c: Likewise.
177 * misc/fremovexattr.c: Likewise.
178 * misc/fsetxattr.c: Likewise.
179 * misc/fsync.c: Likewise.
180 * misc/ftruncate.c: Likewise.
181 * misc/futimes.c: Likewise.
182 * misc/futimesat.c: Likewise.
183 * misc/getdomain.c: Likewise.
184 * misc/getdtsz.c: Likewise.
185 * misc/gethostid.c: Likewise.
186 * misc/gethostname.c: Likewise.
187 * misc/getloadavg.c: Likewise.
188 * misc/getpagesize.c: Likewise.
189 * misc/getsysstats.c: Likewise.
190 * misc/getxattr.c: Likewise.
191 * misc/gtty.c: Likewise.
192 * misc/ioctl.c: Likewise.
193 * misc/lgetxattr.c: Likewise.
194 * misc/listxattr.c: Likewise.
195 * misc/llistxattr.c: Likewise.
196 * misc/lremovexattr.c: Likewise.
197 * misc/lsetxattr.c: Likewise.
198 * misc/lutimes.c: Likewise.
199 * misc/madvise.c: Likewise.
200 * misc/mincore.c: Likewise.
201 * misc/mlock.c: Likewise.
202 * misc/mlockall.c: Likewise.
203 * misc/mmap.c: Likewise.
204 * misc/mprotect.c: Likewise.
205 * misc/msync.c: Likewise.
206 * misc/munlock.c: Likewise.
207 * misc/munlockall.c: Likewise.
208 * misc/munmap.c: Likewise.
209 * misc/preadv.c: Likewise.
210 * misc/preadv64.c: Likewise.
211 * misc/ptrace.c: Likewise.
212 * misc/pwritev.c: Likewise.
213 * misc/pwritev64.c: Likewise.
214 * misc/readv.c: Likewise.
215 * misc/reboot.c: Likewise.
216 * misc/remap_file_pages.c: Likewise.
217 * misc/removexattr.c: Likewise.
218 * misc/revoke.c: Likewise.
219 * misc/select.c: Likewise.
220 * misc/setdomain.c: Likewise.
221 * misc/setegid.c: Likewise.
222 * misc/seteuid.c: Likewise.
223 * misc/sethostid.c: Likewise.
224 * misc/sethostname.c: Likewise.
225 * misc/setregid.c: Likewise.
226 * misc/setreuid.c: Likewise.
227 * misc/setxattr.c: Likewise.
228 * misc/sstk.c: Likewise.
229 * misc/stty.c: Likewise.
230 * misc/swapoff.c: Likewise.
231 * misc/swapon.c: Likewise.
232 * misc/sync.c: Likewise.
233 * misc/syncfs.c: Likewise.
234 * misc/syscall.c: Likewise.
235 * misc/truncate.c: Likewise.
236 * misc/ualarm.c: Likewise.
237 * misc/usleep.c: Likewise.
238 * misc/ustat.c: Likewise.
239 * misc/utimes.c: Likewise.
240 * misc/vhangup.c: Likewise.
241 * misc/writev.c: Likewise.
242 * posix/_exit.c: Likewise.
243 * posix/alarm.c: Likewise.
244 * posix/execve.c: Likewise.
245 * posix/fexecve.c: Likewise.
246 * posix/fork.c: Likewise.
247 * posix/fpathconf.c: Likewise.
248 * posix/getaddrinfo.c: Likewise.
249 * posix/getegid.c: Likewise.
250 * posix/geteuid.c: Likewise.
251 * posix/getgid.c: Likewise.
252 * posix/getgroups.c: Likewise.
253 * posix/getlogin.c: Likewise.
254 * posix/getlogin_r.c: Likewise.
255 * posix/getpgid.c: Likewise.
256 * posix/getpid.c: Likewise.
257 * posix/getppid.c: Likewise.
258 * posix/getresgid.c: Likewise.
259 * posix/getresuid.c: Likewise.
260 * posix/getsid.c: Likewise.
261 * posix/getuid.c: Likewise.
262 * posix/glob64.c: Likewise.
263 * posix/nanosleep.c: Likewise.
264 * posix/pathconf.c: Likewise.
265 * posix/pause.c: Likewise.
266 * posix/posix_madvise.c: Likewise.
267 * posix/pread.c: Likewise.
268 * posix/pread64.c: Likewise.
269 * posix/pwrite.c: Likewise.
270 * posix/pwrite64.c: Likewise.
271 * posix/sched_getaffinity.c: Likewise.
272 * posix/sched_getp.c: Likewise.
273 * posix/sched_gets.c: Likewise.
274 * posix/sched_primax.c: Likewise.
275 * posix/sched_primin.c: Likewise.
276 * posix/sched_rr_gi.c: Likewise.
277 * posix/sched_setaffinity.c: Likewise.
278 * posix/sched_setp.c: Likewise.
279 * posix/sched_sets.c: Likewise.
280 * posix/sched_yield.c: Likewise.
281 * posix/setgid.c: Likewise.
282 * posix/setlogin.c: Likewise.
283 * posix/setpgid.c: Likewise.
284 * posix/setresgid.c: Likewise.
285 * posix/setresuid.c: Likewise.
286 * posix/setsid.c: Likewise.
287 * posix/setuid.c: Likewise.
288 * posix/sleep.c: Likewise.
289 * posix/spawni.c: Likewise.
290 * posix/sysconf.c: Likewise.
291 * posix/times.c: Likewise.
292 * posix/wait.c: Likewise.
293 * posix/wait3.c: Likewise.
294 * posix/wait4.c: Likewise.
295 * posix/waitpid.c: Likewise.
296 * resolv/gai_sigqueue.c: Likewise.
297 * resource/getpriority.c: Likewise.
298 * resource/getrlimit.c: Likewise.
299 * resource/getrusage.c: Likewise.
300 * resource/nice.c: Likewise.
301 * resource/setpriority.c: Likewise.
302 * resource/setrlimit.c: Likewise.
303 * resource/ulimit.c: Likewise.
304 * rt/aio_cancel.c: Likewise.
305 * rt/aio_fsync.c: Likewise.
306 * rt/aio_read.c: Likewise.
307 * rt/aio_sigqueue.c: Likewise.
308 * rt/aio_suspend.c: Likewise.
309 * rt/aio_write.c: Likewise.
310 * rt/clock_getres.c: Likewise.
311 * rt/clock_gettime.c: Likewise.
312 * rt/clock_nanosleep.c: Likewise.
313 * rt/clock_settime.c: Likewise.
314 * rt/lio_listio.c: Likewise.
315 * rt/mq_close.c: Likewise.
316 * rt/mq_getattr.c: Likewise.
317 * rt/mq_notify.c: Likewise.
318 * rt/mq_open.c: Likewise.
319 * rt/mq_receive.c: Likewise.
320 * rt/mq_send.c: Likewise.
321 * rt/mq_setattr.c: Likewise.
322 * rt/mq_timedreceive.c: Likewise.
323 * rt/mq_timedsend.c: Likewise.
324 * rt/mq_unlink.c: Likewise.
325 * rt/shm_open.c: Likewise.
326 * rt/shm_unlink.c: Likewise.
327 * rt/timer_create.c: Likewise.
328 * rt/timer_delete.c: Likewise.
329 * rt/timer_getoverr.c: Likewise.
330 * rt/timer_gettime.c: Likewise.
331 * rt/timer_settime.c: Likewise.
332 * setjmp/__longjmp.c: Likewise.
333 * setjmp/setjmp.c: Likewise.
334 * signal/kill.c: Likewise.
335 * signal/killpg.c: Likewise.
336 * signal/raise.c: Likewise.
337 * signal/sigaction.c: Likewise.
338 * signal/sigaltstack.c: Likewise.
339 * signal/sigblock.c: Likewise.
340 * signal/sigignore.c: Likewise.
341 * signal/sigintr.c: Likewise.
342 * signal/signal.c: Likewise.
343 * signal/sigpause.c: Likewise.
344 * signal/sigpending.c: Likewise.
345 * signal/sigqueue.c: Likewise.
346 * signal/sigreturn.c: Likewise.
347 * signal/sigset.c: Likewise.
348 * signal/sigsetmask.c: Likewise.
349 * signal/sigstack.c: Likewise.
350 * signal/sigsuspend.c: Likewise.
351 * signal/sigtimedwait.c: Likewise.
352 * signal/sigvec.c: Likewise.
353 * signal/sigwait.c: Likewise.
354 * signal/sigwaitinfo.c: Likewise.
355 * signal/sysv_signal.c: Likewise.
356 * socket/accept.c: Likewise.
357 * socket/accept4.c: Likewise.
358 * socket/bind.c: Likewise.
359 * socket/connect.c: Likewise.
360 * socket/getpeername.c: Likewise.
361 * socket/getsockname.c: Likewise.
362 * socket/getsockopt.c: Likewise.
363 * socket/isfdtype.c: Likewise.
364 * socket/listen.c: Likewise.
365 * socket/recv.c: Likewise.
366 * socket/recvfrom.c: Likewise.
367 * socket/recvmsg.c: Likewise.
368 * socket/send.c: Likewise.
369 * socket/sendmsg.c: Likewise.
370 * socket/sendto.c: Likewise.
371 * socket/setsockopt.c: Likewise.
372 * socket/shutdown.c: Likewise.
373 * socket/sockatmark.c: Likewise.
374 * socket/socket.c: Likewise.
375 * socket/socketpair.c: Likewise.
376 * stdio-common/ctermid.c: Likewise.
377 * stdio-common/cuserid.c: Likewise.
378 * stdio-common/remove.c: Likewise.
379 * stdio-common/rename.c: Likewise.
380 * stdio-common/renameat.c: Likewise.
381 * stdio-common/tempname.c: Likewise.
382 * stdlib/getcontext.c: Likewise.
383 * stdlib/makecontext.c: Likewise.
384 * stdlib/setcontext.c: Likewise.
385 * stdlib/swapcontext.c: Likewise.
386 * stdlib/system.c: Likewise.
387 * streams/fattach.c: Likewise.
388 * streams/fdetach.c: Likewise.
389 * streams/getmsg.c: Likewise.
390 * streams/getpmsg.c: Likewise.
391 * streams/putmsg.c: Likewise.
392 * streams/putpmsg.c: Likewise.
393 * sysdeps/unix/bsd/getpt.c: Likewise.
394 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
395 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
396 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
398 Likewise.
399 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
400 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
401 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
402 * sysvipc/msgctl.c: Likewise.
403 * sysvipc/msgget.c: Likewise.
404 * sysvipc/msgrcv.c: Likewise.
405 * sysvipc/msgsnd.c: Likewise.
406 * sysvipc/semctl.c: Likewise.
407 * sysvipc/semget.c: Likewise.
408 * sysvipc/semop.c: Likewise.
409 * sysvipc/semtimedop.c: Likewise.
410 * sysvipc/shmat.c: Likewise.
411 * sysvipc/shmctl.c: Likewise.
412 * sysvipc/shmdt.c: Likewise.
413 * sysvipc/shmget.c: Likewise.
414 * termios/tcdrain.c: Likewise.
415 * termios/tcflow.c: Likewise.
416 * termios/tcflush.c: Likewise.
417 * termios/tcgetattr.c: Likewise.
418 * termios/tcgetpgrp.c: Likewise.
419 * termios/tcsendbrk.c: Likewise.
420 * termios/tcsetattr.c: Likewise.
421 * termios/tcsetpgrp.c: Likewise.
422 * time/adjtime.c: Likewise.
423 * time/clock.c: Likewise.
424 * time/getitimer.c: Likewise.
425 * time/gettimeofday.c: Likewise.
426 * time/setitimer.c: Likewise.
427 * time/settimeofday.c: Likewise.
428 * time/stime.c: Likewise.
429 * time/time.c: Likewise.
430
4312012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 432
a20492cf
PT
433 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
434 /usr/old/bin.
435
72e182e3
PT
436 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
437 instead of spaces.
438 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
439
fbeafede
JM
4402012-11-03 Joseph Myers <joseph@codesourcery.com>
441
5b5b04d6
JM
442 [BZ #14796]
443 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
444 FE_TONEAREST before applying Dekker multiplication and Knuth
445 addition. Clear inexact exceptions and check for exact zero
446 results afterwards.
447 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
448 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
449 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
450 * math/libm-test.inc (fma_test): Add more tests.
451 (fma_test_towardzero): Likewise.
452 (fma_test_downward): Likewise.
453 (fma_test_upward): Likewise.
454 * sysdeps/generic/math_private.h (default_libc_fesetround): New
455 function.
456 (libc_fesetround): New macro.
457 (libc_fesetroundf): Likewise.
458 (libc_fesetroundl): Likewise.
459 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
460 function.
461 (libc_fesetround_387): Likewise.
462 (libc_fesetroundf): New macro.
463 (libc_fesetround): Likewise.
464 (libc_fesetroundl): Likewise.
465 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
466 function.
467 (libc_fesetroundf): New macro.
468 (libc_fesetround): Likewise.
469 (libc_fesetroundl): Likewise.
470 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
471 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
472 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
473 libm_hidden_ver.
474 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
475 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
476 libm_hidden_def.
477 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
478 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
479 libm_hidden_ver.
480 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
481 libm_hidden_def.
482
fbeafede
JM
483 [BZ #3439]
484 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
485 integer constant usable in #if and use that to give value to enum
486 constant.
487 (FE_DIVBYZERO): Likewise.
488 (FE_UNDERFLOW): Likewise.
489 (FE_OVERFLOW): Likewise.
490 (FE_INVALID): Likewise.
491 (FE_INVALID_SNAN): Likewise.
492 (FE_INVALID_ISI): Likewise.
493 (FE_INVALID_IDI): Likewise.
494 (FE_INVALID_ZDZ): Likewise.
495 (FE_INVALID_IMZ): Likewise.
496 (FE_INVALID_COMPARE): Likewise.
497 (FE_INVALID_SOFTWARE): Likewise.
498 (FE_INVALID_SQRT): Likewise.
499 (FE_INVALID_INTEGER_CONVERSION): Likewise.
500 (FE_TONEAREST): Likewise.
501 (FE_TOWARDZERO): Likewise.
502 (FE_UPWARD): Likewise.
503 (FE_DOWNWARD): Likewise.
504 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
505 (FE_DIVBYZERO): Likewise.
506 (FE_OVERFLOW): Likewise.
507 (FE_UNDERFLOW): Likewise.
508 (FE_INEXACT): Likewise.
509 (FE_TONEAREST): Likewise.
510 (FE_DOWNWARD): Likewise.
511 (FE_UPWARD): Likewise.
512 (FE_TOWARDZERO): Likewise.
513 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
514 (FE_UNDERFLOW): Likewise.
515 (FE_OVERFLOW): Likewise.
516 (FE_DIVBYZERO): Likewise.
517 (FE_INVALID): Likewise.
518 (FE_TONEAREST): Likewise.
519 (FE_TOWARDZERO): Likewise.
520 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
521 (FE_OVERFLOW): Likewise.
522 (FE_UNDERFLOW): Likewise.
523 (FE_DIVBYZERO): Likewise.
524 (FE_INEXACT): Likewise.
525 (FE_TONEAREST): Likewise.
526 (FE_TOWARDZERO): Likewise.
527 (FE_UPWARD): Likewise.
528 (FE_DOWNWARD): Likewise.
529 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
530 (FE_DIVBYZERO): Likewise.
531 (FE_OVERFLOW): Likewise.
532 (FE_UNDERFLOW): Likewise.
533 (FE_INEXACT): Likewise.
534 (FE_TONEAREST): Likewise.
535 (FE_DOWNWARD): Likewise.
536 (FE_UPWARD): Likewise.
537 (FE_TOWARDZERO): Likewise.
538
105ca950
CM
5392012-11-02 Chris Metcalf <cmetcalf@tilera.com>
540
541 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
542
a542b389
AS
5432012-11-03 Andreas Schwab <schwab@linux-m68k.org>
544
545 * scripts/cross-test-ssh.sh (command): Use newlines to separate
546 commands. Quote $PWD.
547 (blacklist_exports): Don't use remove_newlines. Replace "declare
548 -x" by "export".
549 (remove_newlines): Remove.
550
f62c8abc
L
5512012-11-02 H.J. Lu <hongjiu.lu@intel.com>
552
553 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
554 * stdlib/stdlib.h (atof): Moved to ...
555 * include/bits/stdlib-float.h: Here. New file.
556 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
557 * stdlib/bits/stdlib-float.h: New file.
558 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
559 -mno-sse -mno-mmx.
560 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
561 <xmmintrin.h>.
562
0155d5b2
JM
5632012-11-02 Joseph Myers <joseph@codesourcery.com>
564
a68d0680
JM
565 * conform/conformtest.pl (@headers): Add fenv.h.
566 * conform/data/fenv.h-data: New file.
567 * include/fenv.h [_ISOMAC]: Disable all contents of file except
568 include of <math/fenv.h>.
569
caf7f573
JM
570 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
571 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
572 && !UNIX98]. Enables tests for XOPEN2K8.
573 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
574 POSIX2008]: Likewise.
575
6c073ad6
JM
576 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
577 (struct rusage): Do not expect type or its members.
578
0155d5b2
JM
579 [BZ #3439]
580 * math/math.h (FP_NAN): Define macro to integer constant usable in
581 #if and use that to give value to enum constant.
582 (FP_INFINITE): Likewise.
583 (FP_ZERO): Likewise.
584 (FP_SUBNORMAL): Likewise.
585 (FP_NORMAL): Likewise.
586
b5dcacb4
AS
5872012-11-02 Andreas Schwab <schwab@linux-m68k.org>
588
589 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
590 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
591 arguments.
592
f7934be8
RM
5932012-11-02 Roland McGrath <roland@hack.frob.com>
594
595 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
596 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
597 autoconf-time if not.
598 * configure.in: Remove AC_PREREQ.
599
d7d08bde
TMQMF
6002012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
601
602 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
603 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
604 of the internal implementation.
605
dcdae19a
JM
6062012-11-02 Joseph Myers <joseph@codesourcery.com>
607
608 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
609 except include of <misc/sys/syslog.h>.
610
d6cffd3e
AS
6112012-11-01 Andreas Schwab <schwab@linux-m68k.org>
612
613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
614 function returns with a NULL context exit with zero.
615
b3563932
TMQMF
6162012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
617
618 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
619
b288a93d
L
6202012-11-01 H.J. Lu <hongjiu.lu@intel.com>
621
622 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
623 (run_program_cmd): This.
624 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
625 (tst_langinfo): New variable. Use it.
626
a2421a68
SAS
6272012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
628
629 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
630 floating point opcodes.
631
6f796e1b
TS
6322012-11-01 Thomas Schwinge <thomas@codesourcery.com>
633
7402596b
TS
634 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
635 variable.
636
d0d4f868
TS
637 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
638
6f796e1b
TS
639 * sysdeps/mach/hurd/powerpc: Remove directory.
640 * sysdeps/mach/powerpc: Likewise.
641
4da224a2
AS
6422012-11-01 Andreas Schwab <schwab@linux-m68k.org>
643
644 * scripts/check-local-headers.sh: Ignore c++ headers.
645
341dd673
TS
6462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
647
648 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
649 __libc_cleanup_region_start argument.
650
473611b2
JM
6512012-11-01 Joseph Myers <joseph@codesourcery.com>
652
653 [BZ #14784]
654 [BZ #14785]
655 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
656 x * y using scaling, not as x * y + z.
657 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
658 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
659 * math/libm-test.inc (fma_test): Add more tests.
660 (fma_test_towardzero): Likewise.
661 (fma_test_downward): Likewise.
662 (fma_test_upward): Likewise.
663
4078da3d
TS
6642012-11-01 Thomas Schwinge <thomas@codesourcery.com>
665
666 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
667
903252aa
JM
6682012-10-31 Joseph Myers <joseph@codesourcery.com>
669
670 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
671 New variable.
672
cbc818d0
TS
6732012-10-31 Thomas Schwinge <thomas@codesourcery.com>
674
675 * rt/tst-shm.c (worker): Correct checking for mmap failure.
676
5a03cb1e
AS
6772012-10-31 Andreas Schwab <schwab@linux-m68k.org>
678
679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
680 Fix sort order.
681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
682 Likewise.
683
90aff2ff
TMQMF
6842012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
685
686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
687 Fix the order of the list for glibc 2.17.
688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
689 Likewise.
690
1818fcb7
AS
6912012-10-31 Andreas Schwab <schwab@linux-m68k.org>
692
693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
694
ef82f4da
JM
6952012-10-31 Joseph Myers <joseph@codesourcery.com>
696
16a0e2ec
JM
697 [BZ #14610]
698 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
699 for low part of x being zero before using __atanl (y).
700 * math/libm-test.inc (atan2_test): Add another test.
701
0eb69512
JM
702 * manual/install.texi (Configuring and compiling): Document
703 general use of test-wrapper and test-wrapper-env.
704 * INSTALL: Regenerated.
705
ef82f4da
JM
706 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
707 (__fma): Do not extract and scale down low bits on after-rounding
708 systems when result rounded to normal precision would have normal
709 exponent.
710 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
711 (__fmal): Do not extract and scale down low bits on after-rounding
712 systems when result rounded to normal precision would have normal
713 exponent.
714 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
715 (__fmal): Do not extract and scale down low bits on after-rounding
716 systems when result rounded to normal precision would have normal
717 exponent.
718 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
719 macro.
720 (fma_test): Add more tests.
721 (fma_test_towardzero): Likewise.
722 (fma_test_downward): Likewise.
723 (fma_test_upward): Likewise.
724
954ef0d9
L
7252012-10-30 H.J. Lu <hongjiu.lu@intel.com>
726
727 * sysdeps/i386/tininess.h: Renamed to ...
728 * sysdeps/x86/tininess.h: This.
729 * sysdeps/x86_64/tininess.h: Removed.
730
df61ffb2
JM
7312012-10-30 Joseph Myers <joseph@codesourcery.com>
732
733 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
734 input. Use $(build-program-cmd).
735 ($(objpfx)tst-array1-static.out): Likewise.
736 ($(objpfx)tst-array2.out): Likewise.
737 ($(objpfx)tst-array3.out): Likewise.
738 ($(objpfx)tst-array4.out): Likewise.
739 ($(objpfx)tst-array5.out): Likewise.
740 ($(objpfx)tst-array5-static.out): Likewise.
741
01767843
CM
7422012-10-30 Chris Metcalf <cmetcalf@tilera.com>
743
47cc1490
CM
744 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
745 if defined.
746
01767843
CM
747 * nss/nsswitch.h (nss_interface_function): Provide new
748 macro for use with NSS functions.
749 * grp/initgroups.c: Use new macro.
750 * nss/getXXbyYY.c: Likewise.
751 * nss/getXXbyYY_r.c: Likewise.
752 * nss/getXXent.c: Likewise.
753 * nss/getXXent_r.c: Likewise.
754 * sysdeps/posix/getaddrinfo.c: Likewise.
755
8321aa97
AJ
7562012-10-30 Andreas Jaeger <aj@suse.de>
757
758 * po/ru.po: Update Russion translation from translation project.
759
2a27fd6d
JM
7602012-10-30 Joseph Myers <joseph@codesourcery.com>
761
8627a232
JM
762 [BZ #14152]
763 [BZ #14783]
764 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
765 result and shift together with sticky bit instead of replicating
766 round-to-nearest rounding.
767 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
768 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
769 * math/libm-test.inc (fma_test): Add more tests. Do not permit
770 missing underflow exceptions.
771 (fma_test_towardzero): Add more tests.
772 (fma_test_downward): Likewise.
773 (fma_test_upward): Likewise.
774
2a27fd6d
JM
775 [BZ #14047]
776 * sysdeps/generic/tininess.h: New file.
777 * sysdeps/i386/tininess.h: Likewise.
778 * sysdeps/sh/tininess.h: Likewise.
779 * sysdeps/x86_64/tininess.h: Likewise.
780 * stdlib/tst-strtod-underflow.c: Likewise.
781 * stdlib/tst-tininess.c: Likewise.
782 * stdlib/strtod_l.c: Include <tininess.h>.
783 (round_and_return): Do not set errno for exact underflow cases.
784 Force an underflow exception when setting errno for underflow.
785 Determine underflow based on rounding to normal precision if
786 TININESS_AFTER_ROUNDING.
787 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
788 ERANGE for exact underflow cases.
789 * stdlib/Makefile (tests): Add tst-tininess and
790 tst-strtod-underflow.
791 ($(objpfx)tst-tininess): Use $(link-libm).
792 ($(objpfx)tst-strtod-underflow): Likewise.
793
e7170363
AJ
7942012-10-30 Andreas Jaeger <aj@suse.de>
795
e5088dc6
AJ
796 [BZ#14767]
797 * elf/Makefile (tests): Remove conditional for have-initfini-array
798 since this is now always required and the variable does not exist
799 anymore.
800 (tests-static): Likewise.
801 (modules-names): Likewise.
802
e7170363 803 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
804
805 * elf/tst-array1.c (fini_array): Make writeable so that it can be
806 merged with constructor/destructor.
807 (init_array): Likewise.
808 * elf/tst-array2dep.c (fini_array): Likewise.
809 (init_array): Likewise.
810
60457d8a
MF
8112012-10-29 Mike Frysinger <vapier@gentoo.org>
812
813 * manual/message.texi: Delete @cartouche tags.
814
8bece752
PT
8152012-10-29 Pino Toscano <toscano.pino@tiscali.it>
816
94ce799f
PT
817 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
818 EOPNOTSUPP.
819 * sysdeps/mach/hurd/fsync.c: Likewise.
820
8bece752
PT
821 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
822 [_POSIX_REALTIME_SIGNALS]: Change condition to
823 [_POSIX_REALTIME_SIGNALS > 0].
824
86ebe6b1
AJ
8252012-10-27 Andreas Jaeger <aj@suse.de>
826
827 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
828 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
829 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
830 [__WORDSIZE != 64]: Likewise.
831
54399c08
L
8322012-10-26 H.J. Lu <hongjiu.lu@intel.com>
833
834 * iconvdata/tst-table.sh: Remove ${SHELL}.
835 * iconvdata/tst-tables.sh: Likewise.
836
e2211bed
DM
8372012-10-25 David S. Miller <davem@davemloft.net>
838
839 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
840 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
841 of strtoull.
842
f303f97c
DM
843 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
844 ifunc-impl-list.c
845 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
846 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
847 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
848 file.
849
1e9d84cd
RM
8502012-10-25 Roland McGrath <roland@hack.frob.com>
851
852 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
853 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
854 __getdirentries.
855
df381762
JM
8562012-10-25 Joseph Myers <joseph@codesourcery.com>
857 Jim Blandy <jimb@codesourcery.com>
858
859 * scripts/cross-test-ssh.sh: New file.
860 * manual/install.texi (Configuring and compiling): Document use of
861 cross-test-ssh.sh.
862 * INSTALL: Regenerated.
863
bff64913
PT
8642012-10-25 Pino Toscano <toscano.pino@tiscali.it>
865
866 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
867 EOPNOTSUPP.
868
25fe8932
JM
8692012-10-25 Joseph Myers <joseph@codesourcery.com>
870
871 * Makeconfig (run-program-prefix): Fix comment.
872
cc1290d0
JM
8732012-10-24 Joseph Myers <joseph@codesourcery.com>
874 Jim Blandy <jimb@codesourcery.com>
875
876 * Makeconfig (test-wrapper): New variable,
877 (test-wrapper-env): Likewise.
878 [$(cross-compiling) = yes && $(test-wrapper) != ""]
879 (run-built-tests): Define to yes.
880 (run-program-prefix): Use $(test-wrapper).
881 (built-program-cmd): Likewise.
882 * Rules (make-test-out): Use $(test-wrapper-env) and
883 $(host-built-program-cmd).
884 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
885 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
886 tst-pathopt.sh.
887 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
888 $(test-wrapper-env) to tst-rtld-load-self.sh.
889 ($(objpfx)order2.out): Use $(test-wrapper).
890 ($(objpfx)tst-initorder.out): Likewise.
891 ($(objpfx)tst-initorder2.out): Likewise.
892 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
893 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
894 (test_wrapper_env): New variable. Use it to run ld.so.
895 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
896 Use it to run ld.so.
897 (test_wrapper_env): Likewise.
898 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
899 $(test-wrapper) to run-iconv-test.sh.
900 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
901 (ICONV): Use $test_wrapper.
902 * posix/Makefile ($(objpfx)globtest.out): Pass
903 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
904 globtest.sh, not $(run-program-prefix).
905 * posix/globtest.sh (run_via_rtld_prefix): New variable.
906 (test_wrapper): Likewise.
907 (test_wrapper_env): Likewise. Use it to run globtest with HOME
908 set together with run_via_rtld_prefix.
909 (run_program_prefix): Define in terms of test_wrapper and
910 run_via_rtld_prefix.
911
6e6249d0
RM
9122012-10-24 Roland McGrath <roland@hack.frob.com>
913
914 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
915 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
916 Targets removed.
917
918 [BZ #14743]
919 * include/time.h: Remove librt_hidden_proto (clock_gettime).
920 Declare __clock_getres, __clock_gettime, __clock_settime,
921 __clock_nanosleep, and __clock_getcpuclockid.
922 * rt/clock_gettime.c: Define __clock_gettime as an alias.
923 Remove librt_hidden_def (clock_gettime).
924 * sysdeps/unix/clock_gettime.c: Likewise.
925 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
926 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
927 * rt/clock_getres.c: Define __clock_getres as an alias.
928 * sysdeps/posix/clock_getres.c: Likewise.
929 * rt/clock_settime.c: Define __clock_settime as an alias.
930 * sysdeps/unix/clock_settime.c: Likewise.
931 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
932 * sysdeps/unix/clock_nanosleep.c: Likewise.
933 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
934 * rt/clock-compat.c: New file.
935 * rt/Makefile (librt-routines): Add clock-compat and move
936 $(clock-routines) to ...
937 (routines): ... here, new variable.
938 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
939 Don't add get_clockfreq here.
940 * rt/Versions (libc: GLIBC_2.17): New version set.
941 Add clock_* symbols here.
942 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
943 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
944 (GLIBC_2.17): Add clock_* symbols.
945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
947 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
949 Likewise.
950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
951 Likewise.
952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
956 * NEWS: Mention the move.
957
958 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
959 Use __open, __read, __close rather than their public counterparts.
960 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
961 (__get_clockfreq_via_cpuinfo): Likewise.
962 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
963 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
964
965 * config.h.in (HAVE_IFUNC): New #undef.
966 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
967 was successful.
968 * configure: Regenerated.
969
0cae3f4b
MF
9702012-10-24 Mike Frysinger <vapier@gentoo.org>
971
972 * configure.in: Move READELF check to start of file.
973 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
974 libc_cv_asm_gnu_indirect_function in the process.
975 * configure: Regenerated.
976
8175a253
MF
9772012-10-24 Mike Frysinger <vapier@gentoo.org>
978
979 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
980 send the output to /dev/null.
981 (libc_cv_cc_with_libunwind): Likewise.
982 (libc_cv_as_noexecstack): Likewise.
983 * configure: Regenerate.
984
0708a7d1
JM
9852012-10-24 Joseph Myers <joseph@codesourcery.com>
986
10b40d85
JM
987 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
988
0708a7d1
JM
989 * posix/globtest.sh (TMPDIR): Do not set.
990 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
991 (testout): Likewise.
992
9fddec1a
AJ
9932012-10-24 Andreas Jaeger <aj@suse.de>
994
3a8db22f
AJ
995 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
996 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
997 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
998 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
999 posix_fadvise64, posix_fallocate64.
1000
9fddec1a
AJ
1001 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1002 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1003 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1004 Likewise.
1005 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1006 Likewise.
1007 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1008
1009 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1010 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1011 <bits/fcntl-linux.h>.
1012 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1013
1014 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1015 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1016 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1017 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1018 [__WORDSIZE != 64]: Likewise.
1019
ebfd1bbd
JM
10202012-10-23 Joseph Myers <joseph@codesourcery.com>
1021
03ac099f
JM
1022 * Makeconfig (run-built-tests): New variable.
1023 * Rules [$(cross-compiling) = yes]: Change condition to
1024 [$(run-built-tests) = no].
1025 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1026 to [$(run-built-tests) = yes].
1027 * elf/Makefile [$(cross-compiling) = no]: Likewise
1028 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1029 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1030 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1031 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1032 * io/Makefile [$(cross-compiling) = no]: Likewise.
1033 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1034 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1035 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1036 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1037 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1038 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1039 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1040 * string/Makefile [$(cross-compiling) = no]: Likewise.
1041
ebfd1bbd
JM
1042 * posix/Makefile ($(objpfx)globtest.out): Pass
1043 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1044 $(rtld-installed-name).
1045 * posix/globtest.sh (elf_objpfx): Remove variable.
1046 (rtld_installed_name): Likewise.
1047 (library_path): Likewise.
1048 (run_program_prefix): New variable. Use for running globtest
1049 binary.
1050
166bca24
JB
10512012-10-23 Jim Blandy <jimb@codesourcery.com>
1052 Joseph Myers <joseph@codesourcery.com>
1053
1054 * Makeconfig (host-built-program-cmd): New variable.
1055 * elf/Makefile (tst-stackguard1-ARGS): Use
1056 $(host-built-program-cmd).
1057 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1058 (tst-spawn-ARGS): Likewise.
1059 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1060
88866099
JM
10612012-10-23 Joseph Myers <joseph@codesourcery.com>
1062 Jim Blandy <jimb@codesourcery.com>
1063
1064 * Makeconfig (run-via-rtld-prefix): New variable.
1065 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1066 (built-program-cmd): Likewise.
1067
b4b4c296
AJ
10682012-10-22 Andreas Jaeger <aj@suse.de>
1069
1070 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1071 __O_RSYNC if it exists, otherwise to O_SYNC.
1072
6fb54a22
JB
10732012-10-22 Jim Blandy <jimb@codesourcery.com>
1074 Joseph Myers <joseph@codesourcery.com>
1075
1076 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1077 /dev/null.
1078 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1079 from /dev/null
1080 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1081 /dev/null.
1082
481b90b9
AJ
10832012-10-22 Andreas Jaeger <aj@suse.de>
1084
2a0e2669
AJ
1085 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1086 Define always.
1087 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1088
76e38f9a
AJ
1089 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1090 bits/fcntl-linux.h.
1091
7cd37b43
AJ
1092 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1093 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1094
481b90b9
AJ
1095 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1096 to __O_LARGEFILE.
1097 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1098 to __O_LARGEFILE.
1099
aba75984
JB
11002012-10-21 Jim Blandy <jimb@codesourcery.com>
1101 Joseph Myers <joseph@codesourcery.com>
1102
1103 * config.make.in (NM): New variable.
1104
88d4247f
AJ
11052012-10-21 Andreas Jaeger <aj@suse.de>
1106
1107 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1108 definitions and declarations that are provided by
1109 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1110
f2eed205
L
11112012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1112
1113 [BZ #14683]
1114 * elf/Makefile (tests-static): Add tst-leaks1-static.
1115 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1116 ($(objpfx)tst-leaks1-static): New rule.
1117 ($(objpfx)tst-leaks1-static-mem): Likewise.
1118 (tst-leaks1-static-ENV): New macro.
1119 * elf/dl-open.c (dl_open_worker): Check the main application
1120 only if SHARED is defined.
1121 * elf/tst-leaks1-static.c: New file.
1122
335e6931
AJ
11232012-10-20 Andreas Jaeger <aj@suse.de>
1124
1125 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1126 generic values for Linux.
1127 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1128 and declarations that are provided by <bits/fcntl-linux.h> and
1129 include <bits/fcntl-linux.h>.
1130 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1131 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1132
ac5c94d3
RM
11332012-10-20 Roland McGrath <roland@hack.frob.com>
1134
1135 * io/fcntl.h: Move include of <bits/types.h> to the top and
1136 include it unconditionally.
1137
de54b33a
L
11382012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1139
228cfb01
L
1140 * wcsmbs/Makefile (tests-ifunc): New variable.
1141 (tests): Add $(tests-ifunc).
1142 * wcsmbs/test-wcschr-ifunc.c: New file.
1143 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1144 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1145 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1146 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1147 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1148
69f07e5f
L
1149 * string/Makefile (tests-ifunc): New variable.
1150 (tests): Add $(tests-ifunc).
1151 * string/test-memccpy.c (TEST_NAME): New macro.
1152 * string/test-memchr.c (TEST_NAME): Likewise.
1153 * string/test-memcmp.c (TEST_NAME): Likewise.
1154 * string/test-memcpy.c (TEST_NAME): Likewise.
1155 * string/test-memmem.c (TEST_NAME): Likewise.
1156 * string/test-memmove.c (TEST_NAME): Likewise.
1157 * string/test-memset.c (TEST_NAME): Likewise.
1158 * string/test-rawmemchr.c (TEST_NAME): Likewise.
1159 * string/test-stpcpy.c (TEST_NAME): Likewise.
1160 * string/test-stpncpy.c (TEST_NAME): Likewise.
1161 * string/test-strcasecmp.c (TEST_NAME): Likewise.
1162 * string/test-strcasestr.c (TEST_NAME): Likewise.
1163 * string/test-strcat.c (TEST_NAME): Likewise.
1164 * string/test-strchr.c (TEST_NAME): Likewise.
1165 * string/test-strcmp.c(TEST_NAME): Likewise.
1166 * string/test-strcpy.c (TEST_NAME): Likewise.
1167 * string/test-strcspn.c (TEST_NAME): Likewise.
1168 * string/test-strlen.c (TEST_NAME): Likewise.
1169 * string/test-strncasecmp.c (TEST_NAME): Likewise.
1170 * string/test-strncmp.c (TEST_NAME): Likewise.
1171 * string/test-strncpy.c (TEST_NAME): Likewise.
1172 * string/test-strnlen.c (TEST_NAME): Likewise.
1173 * string/test-strpbrk.c (TEST_NAME): Likewise.
1174 * string/test-strrchr.c (TEST_NAME): Likewise.
1175 * string/test-strspn.c (TEST_NAME): Likewise.
1176 * string/test-strstr.c (TEST_NAME): Likewise.
1177 * string/test-bcopy-ifunc.c: New file.
1178 * string/test-bzero-ifunc.c: Likewise.
1179 * string/test-memccpy-ifunc.c: Likewise.
1180 * string/test-memchr-ifunc.c: Likewise.
1181 * string/test-memcmp-ifunc.c: Likewise.
1182 * string/test-memcpy-ifunc.c: Likewise.
1183 * string/test-memmem-ifunc.c: Likewise.
1184 * string/test-memmove-ifunc.c: Likewise.
1185 * string/test-mempcpy-ifunc.c: Likewise.
1186 * string/test-memset-ifunc.c: Likewise.
1187 * string/test-rawmemchr-ifunc.c: Likewise.
1188 * string/test-stpcpy-ifunc.c: Likewise.
1189 * string/test-stpncpy-ifunc.c: Likewise.
1190 * string/test-strcasecmp-ifunc.c: Likewise.
1191 * string/test-strcasestr-ifunc.c: Likewise.
1192 * string/test-strcat-ifunc.c: Likewise.
1193 * string/test-strchr-ifunc.c: Likewise.
1194 * string/test-strchrnul-ifunc.c: Likewise.
1195 * string/test-strcmp-ifunc.c: Likewise.
1196 * string/test-strcpy-ifunc.c: Likewise.
1197 * string/test-strcspn-ifunc.c: Likewise.
1198 * string/test-strlen-ifunc.c: Likewise.
1199 * string/test-strncasecmp-ifunc.c: Likewise.
1200 * string/test-strncat-ifunc.c: Likewise.
1201 * string/test-strncmp-ifunc.c: Likewise.
1202 * string/test-strncpy-ifunc.c: Likewise.
1203 * string/test-strnlen-ifunc.c: Likewise.
1204 * string/test-strpbrk-ifunc.c: Likewise.
1205 * string/test-strrchr-ifunc.c: Likewise.
1206 * string/test-strspn-ifunc.c: Likewise.
1207 * string/test-strstr-ifunc.c: Likewise.
1208
de54b33a
L
1209 * debug/Makefile (tests-ifunc): New variable.
1210 (tests): Add $(tests-ifunc).
1211 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
1212 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
1213 * debug/test-stpcpy_chk-ifunc.c: New file.
1214 * debug/test-strcpy_chk-ifunc.c: Likewise.
1215
88481c16
SP
12162012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1217
1218 [BZ #13601]
1219 * elf/dl-load.c (open_verify): Retry read if the entire ELF
1220 header is not read in.
1221
135948bd
JM
12222012-10-19 Joseph Myers <joseph@codesourcery.com>
1223
89f1c388
JM
1224 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
1225 script to $(SHELL) as $<. Pass $(common-objpfx) to script
1226 directly. Pass built executable to script as
1227 $(built-program-cmd).
1228 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
1229 $testprogram without using LD_LIBRARY_PATH and $ldso.
1230
e40a0d21
JM
1231 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
1232 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
1233 $(rtld-installed-name).
1234 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
1235 (rtld_installed_name): Likewise.
1236 (library_path): Likewise.
1237 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
1238 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
1239 $(run-program-prefix) to tst-tables.sh.
1240 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
1241 it to run tst-table-from and tst-table-to.
1242 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
1243 Pass it to tst-table.sh.
1244 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
1245 $(run-program-prefix) to tst-gettext.sh.
1246 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
1247 tst-translit.sh.
1248 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
1249 tst-gettext2.sh.
1250 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
1251 to run tst-gettext.
1252 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
1253 to run tst-gettext2.
1254 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
1255 to run tst-translit.
1256 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
1257 $(run-program-prefix) to tst-mtrace.sh.
1258 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
1259 to run tst-mtrace.
1260 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
1261 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
1262 $(rtld-installed-name).
1263 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
1264 (rtld_installed_name): Likewise.
1265 (run_program_prefix): New variable. Use it to run wordexp-test.
1266
728e272a
JM
1267 * Makeconfig (ARCH): Remove all definitions.
1268 (machine): Likewise.
1269 [ARCH]: Remove conditional code.
1270 [!objdir]: Give error.
1271 [!objdir] (objpfx): Remove.
1272 [!objdir] (common-objpfx): Likewise.
1273 [!objdir] (common-objdir): Likewise.
1274 * configure.in (config_makefile): Remove. Hardcode Makefile in
1275 AC_CONFIG_FILES call.
1276 * configure: Regenerated.
1277
d528cdcf
JM
1278 [BZ #13888]
1279 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
1280 or TMPDIR.
1281 (testout): Likewise.
1282
135948bd
JM
1283 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
1284 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
1285 $(rtld-installed-name).
1286 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
1287 (rtld_installed_name): Likwise.
1288 (runit): Remove function.
1289 (run_getconf): New variable, Use it for running getconf binary.
1290
38c78296
L
12912012-10-18 H.J. Lu <hongjiu.lu@intel.com>
1292
1293 [BZ #14716]
1294 * string/test-memmem.c (check_result): New function.
1295 (do_one_test): Use it.
1296 (check1): New function.
1297 (test_main): Use it.
1298
d077f65f
MT
12992012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
1300
1301 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
1302
ced52c71
JM
13032012-10-18 Joseph Myers <joseph@codesourcery.com>
1304
1305 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
1306 (_G_LSEEK64): Likewise.
1307 (_G_MMAP64): Likewise.
1308 (_G_FSTAT64): Likewise.
1309 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
1310 (_G_LSEEK64): Likewise.
1311 (_G_MMAP64): Likewise.
1312 (_G_FSTAT64): Likewise.
1313 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
1314 unconditional. Call __mmap64 directly.
1315 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
1316 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
1317 __lseek64 directly.
1318 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
1319 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
1320 __mmap64 directly.
1321 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
1322 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
1323 __lseek64 directly.
1324 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
1325 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
1326 __lseek64 directly.
1327 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
1328 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
1329 __lseek64 directly.
1330 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
1331 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
1332 __fxstat64 directly.
1333 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
1334 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
1335 unconditional.
1336 (freopen64) [!_G_OPEN64]: Remove conditional code.
1337 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
1338 unconditional.
1339 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
1340 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
1341 unconditional.
1342 (ftello64) [!_G_LSEEK64]: Remove conditional code.
1343 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
1344 unconditional.
1345 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1346 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
1347 unconditional.
1348 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
1349 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
1350 unconditional.
1351 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1352 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
1353 unconditional.
1354 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1355 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
1356 unconditional.
1357 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1358
b741de23
SP
13592012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1360
1361 [BZ #12140]
1362 * manual/memory.texi (Malloc Tunable Parameters): Add note
1363 about free list pointers overwriting some perturb bytes.
1364 Wording suggested by Roland McGrath.
1365
f9b9d9c9
JM
13662012-10-17 Joseph Myers <joseph@codesourcery.com>
1367
1368 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
1369 (lgamma_test): Likewise.
1370 (tgamma_test): Likewise.
1371
172a631a
FW
13722012-10-16 Florian Weimer <fweimer@redhat.com>
1373
1374 [BZ #14700]
1375 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
1376 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
1377
e9f37252
MK
13782012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
1379
1380 * NEWS: Mention BZ #14716.
1381 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
1382 when removing AVAILABLE1_USES_J macro.
1383
d394eb74
L
13842012-10-12 H.J. Lu <hongjiu.lu@intel.com>
1385
1386 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
1387 (__bswap_64): __uint64_t for unsigned 64-bit int.
1388
ca38dc17
AS
13892012-10-12 Andreas Schwab <schwab@linux-m68k.org>
1390
1391 * include/string.h (memmem): Declare libc hidden alias.
1392 * string/memmem.c (memmem): Define libc hidden alias.
1393 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
1394 __read, __close instead of open, read, close.
1395
9a387d1f
L
13962012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1397
ac49ecaf
L
1398 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
1399 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
1400 global and hidden.
1401 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
1402 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
1403 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
1404 Likewise.
1405 (__rawmemchr_sse2): Likewise.
1406 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
1407 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
1408 (__strchr_sse2): Likewise.
1409 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
1410 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
1411 (__strcasecmp_sse2): Likewise.
1412 (__strncasecmp_sse2): Likewise.
1413 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
1414 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
1415 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
1416 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
1417 (__strrchr_sse2): Likewise.
1418 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
1419 ifunc-impl-list.c.
1420 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1421 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1422 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1423 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1424 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1425 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1426 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1427 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1428 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
1429 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
1430 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1431 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
1432 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
1433 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1434 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1435 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1436 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1437 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1438 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
1439 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1440 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
1441 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1442 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1443 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1444 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
1445 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1446 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1447 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1448 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1449 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1450
b090e8ea
L
1451 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
1452 global and hidden.
1453 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
1454 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
1455 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
1456 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
1457 Likewise.
1458 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
1459 Likewise.
1460 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
1461 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
1462 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
1463 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
1464 ifunc-impl-list.c.
1465 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1466 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1467 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1468 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1469 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1470 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1471 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1472 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1473 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1474 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1475 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1476 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1477 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1478 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
1479 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
1480 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1481 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
1482 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
1483 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1484 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1485 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1486 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1487 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1488 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1489 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1490 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
1491 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
1492 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
1493 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
1494 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1495 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
1496 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1497 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1498 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
1499 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1500 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1501 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1502 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1503 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1504 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1505 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
1506
11dd4af6
L
1507 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
1508 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
1509 * include/ifunc-impl-list.h: New file.
1510 * misc/ifunc-impl-list.c: Likewise.
1511 * misc/Makefile (routines): Add ifunc-impl-list.
1512 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
1513 * string/test-string.h: Include <ifunc-impl-list.h>.
1514 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
1515 impl_array): New variables.
1516 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
1517 are defined.
1518 (test_init): Call __libc_ifunc_impl_list to initialize
1519 func_list if TEST_IFUNC and TEST_NAME are defined.
1520
9a387d1f
L
1521 * string/Makefile (strop-tests): Add bcopy and bzero.
1522 * string/test-bcopy.c: New file.
1523 * string/test-bzero.c: Likewise.
1524 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
1525 defined.
1526 * string/test-memset.c: Support bzero test if TEST_BZERO is
1527 defined.
1528 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
1529 __libc_memmove.
1530 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
1531 __libc_memset.
1532 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
1533 of memset.
1534
472371b9
JM
15352012-10-10 Joseph Myers <joseph@codesourcery.com>
1536
1e4a9536
JM
1537 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
1538 * configure: Regenerated.
1539
d173d12e
JM
1540 * Makeconfig (+link-static-before-libc): Don't include
1541 $(link-static-libc).
1542
472371b9
JM
1543 * libio/libio.h (_IO_pos_t): Remove.
1544
89a3ad0b
AO
15452012-10-10 Alexandre Oliva <aoliva@redhat.com>
1546
1547 * NEWS: Add note about FIPS mode. Wording suggested by Roland
1548 McGrath.
1549
e7451425
AO
15502012-10-10 Alexandre Oliva <aoliva@redhat.com>
1551
1552 * crypt/crypt-entry.c: Include fips-private.h.
1553 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
1554 * crypt/md5c-test.c (main): Tolerate disabled MD5.
1555 * sysdeps/unix/sysv/linux/fips-private.h: New file.
1556 * sysdeps/generic/fips-private.h: New file, dummy fallback.
1557
4ba74a35
AO
15582012-10-10 Alexandre Oliva <aoliva@redhat.com>
1559
1560 * crypt/crypt-private.h: Include stdbool.h.
1561 (_ufc_setup_salt_r): Return bool.
1562 * crypt/crypt-entry.c: Include errno.h.
1563 (__crypt_r): Return NULL with EINVAL for bad salt.
1564 * crypt/crypt_util.c (bad_for_salt): New.
1565 (_ufc_setup_salt_r): Check that salt is long enough and within
1566 the specified alphabet.
1567 * crypt/badsalttest.c: New file.
1568 * crypt/Makefile (tests): Add it.
1569 ($(objpfx)badsalttest): New.
1570
f96f1242
MK
15712012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
1572
1573 * NEWS: Add entry for BZ #14602.
1574
0e8e0c1c
JM
15752012-10-09 Joseph Myers <joseph@codesourcery.com>
1576
1577 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
1578 type-generic.
1579 * math/libm-test.inc: Update comment listing what functions and
1580 macros are tested.
1581 (isgreater_test): New function.
1582 (isgreaterequal_test): Likewise.
1583 (isless_test): Likewise.
1584 (islessequal_test): Likewise.
1585 (islessgreater_test): Likewise.
1586 (isunordered_test): Likewise.
1587 (main): Call the new functions.
1588
273edc5e
RM
15892012-10-09 Roland McGrath <roland@hack.frob.com>
1590
b8493de0
RM
1591 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
1592 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
1593 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
1594 * sysdeps/i386/configure: Regenerated.
1595 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
1596 * sysdeps/mach/configure: Regenerated.
1597 * sysdeps/mach/hurd/configure: Regenerated.
1598 * sysdeps/powerpc/configure: Regenerated.
1599 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1600 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1601 * sysdeps/s390/s390-32/configure: Regenerated.
1602 * sysdeps/s390/s390-64/configure: Regenerated.
1603 * sysdeps/sh/configure: Regenerated.
1604 * sysdeps/sparc/configure: Regenerated.
1605 * sysdeps/unix/sysv/linux/configure: Regenerated.
1606 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1607 * sysdeps/x86_64/configure: Regenerated.
1608
273edc5e
RM
1609 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
1610 defined. Don't check if MAP is NULL.
1611
c8450f70
JM
16122012-10-09 Joseph Myers <joseph@codesourcery.com>
1613
1614 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
1615 (_G_stat64): Likewise.
1616 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
1617 (_G_stat64): Likewise.
1618 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
1619 instead of struct _G_stat64.
1620 * libio/fileops.c (mmap_remap_check): Likewise.
1621 (decide_maybe_mmap): Likewise.
1622 (_IO_new_file_seekoff): Likewise.
1623 (_IO_file_stat): Likewise.
1624 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
1625 _G_off64_t.
1626 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
1627 instead of struct _G_stat64.
1628 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1629
57e605ba
MK
16302012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
1631
1632 [BZ #14602]
1633 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1634 Replace with ...
1635 (CHECK_EOL): New macro.
1636 (two_way_short_needle): Check beginning of haystack for EOL. Use
1637 CHECK_EOL.
1638 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1639 Replace with CHECK_EOL.
1640 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1641 Replace with CHECK_EOL.
1642
ef1bb361
JM
16432012-10-08 Joseph Myers <joseph@codesourcery.com>
1644
1645 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
1646 type-generic.
1647 * math/libm-test.inc: Update comment listing what functions and
1648 macros are tested.
1649 (finite_test): New function.
1650 (isinf_test): Likewise.
1651 (isnan_test): Likewise.
1652 (fpclassify_test): Test subnormal input.
1653 (isfinite_test): Likewise.
1654 (isnormal_test): Likewise.
1655 (main): Call the new functions.
1656
55f11534
JN
16572012-10-08 Jonathan Nieder <jrnieder@gmail.com>
1658
1659 [BZ #14660]
1660 * Makerules (%.dynsym): Force C locale when running
1661 $(OBJDUMP) --dynamic-syms.
1662
1ab29350
AS
16632012-10-08 Andreas Schwab <schwab@linux-m68k.org>
1664
1665 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
1666 <stdint.h>.
1667
f1ecb7ef
DM
16682012-10-06 David S. Miller <davem@davemloft.net>
1669
1670 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
1671 upper 32-bits of the length value in %o2 since we use branch-on-register
1672 tests which consider the entire 64-bit register.
1673
5d41d91a
L
16742012-10-06 H.J. Lu <hongjiu.lu@intel.com>
1675
1676 * string/test-strstr.c (check2): Add a test for page boundary.
1677
3baddb72
DM
16782012-10-05 David S. Miller <davem@davemloft.net>
1679
1680 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1681 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1682 file.
1683 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1684 sysdep_routines.
1685 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1686 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1687 and bzero when HWCAP_SPARC_CRYPTO is present.
1688
9cee5585
L
16892012-10-05 H.J. Lu <hongjiu.lu@intel.com>
1690
d7e0dab9
L
1691 [BZ #14602]
1692 * string/test-strstr.c (check2): New function.
1693 (test_main): Call check2.
1694
03759f47
L
1695 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1696 and bug-strchr1.
1697 * string/bug-strcasestr1.c (do_test): Moved to ...
1698 * string/test-strcasestr.c (check1): Here. New function.
1699 (do_one_test): Break out result checking code into ...
1700 (check_result): This. New function.
1701 (do_one_test): Call check_result.
1702 (test_main): Call check1.
1703 * string/bug-strchr1.c (do_test): Moved to ...
1704 * string/test-strchr.c (check1): Here. New function.
1705 (do_one_test): Break out result checking code into ...
1706 (check_result): This. New function.
1707 (do_one_test): Call check_result.
1708 (test_main): Call check1.
1709 * string/bug-strstr1.c (main): Moved to ...
1710 * string/test-strchr.c (check1): Here. New function.
1711 (do_one_test): Break out result checking code into ...
1712 (check_result): This. New function.
1713 (do_one_test): Call check_result.
1714 (test_main): Call check1.
1715 * string/bug-strcasestr1.c: Removed.
1716 * string/bug-strchr1.c: Likewise.
1717 * string/bug-strstr1.c: Likewise.
1718
53cea63e
L
1719 * elf/Makefile (dl-routines): Add hwcaps.
1720 * elf/dl-support.c (_dl_important_hwcaps): Removed.
1721 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1722 (_dl_important_hwcaps): Moved to ...
1723 * elf/dl-hwcaps.c: Here. New file.
1724 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1725
9cee5585 1726 [BZ #14557]
bb859b06
L
1727 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1728 if IS_IN_rtld isn't defined.
1729
9cee5585
L
1730 * elf/dl-support.c (_dl_sysinfo_map): New.
1731 Include "get-dynamic-info.h" and "setup-vdso.h".
1732 (_dl_non_dynamic_init): Call setup_vdso.
1733 * elf/dynamic-link.h: Don't include <assert.h>.
1734 (elf_get_dynamic_info): Moved to ...
1735 * elf/get-dynamic-info.h: Here. New file.
1736 * elf/dynamic-link.h: Include "get-dynamic-info.h".
1737 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1738 * elf/setup-vdso.h: Here. New file.
1739 * elf/rtld.c: Include "setup-vdso.h".
1740 (dl_main): Call setup_vdso.
1741
23c31b76
JM
17422012-10-05 Joseph Myers <joseph@codesourcery.com>
1743
28234b07
JM
1744 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1745 creal in comment listing functions tested. List finite, isinf,
1746 isnan, isless, islessequal, isgreater, isgreaterequal,
1747 islessgreater, isunordered, lgamma_r and pow10 as functions and
1748 macros not tested. Mention which functions not tested are aliases
1749 for other functions. Fix typo. Note that signs of NaNs are not
1750 tested.
1751
23c31b76
JM
1752 * scripts/config.guess: Update from config.git.
1753 * scripts/config.sub: Likewise.
1754
9043e228
RM
17552012-10-04 Roland McGrath <roland@hack.frob.com>
1756
1757 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1758 * misc/madvise.c (madvise): Renamed to __madvise.
1759 Make madvise a weak alias.
1760 * include/sys/mman.h: Declare __madvise.
1761 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1762 * sysdeps/unix/syscalls.list
1763 (madvise): Make __madvise the strong name, and madvise a weak alias.
1764 * sysdeps/unix/sysv/linux/syscalls.list
1765 (madvise, mmap): Remove redundant entries.
1766 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1767 * malloc/malloc.c (mtrim): Likewise.
1768 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1769
f57f8055
RM
17702012-10-03 Roland McGrath <roland@hack.frob.com>
1771
1772 * sysdeps/mach/hurd/dl-cache.c: File removed.
1773 * config.h.in (USE_LDCONFIG): New #undef.
1774 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1775 * configure: Regenerated.
1776 * elf/Makefile (dl-routines): Add dl-cache only under
1777 [$(use-ldconfig) = yes].
1778 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1779 cache on [USE_LDCONFIG].
1780 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1781 [USE_LDCONFIG].
1782 * elf/rtld.c (dl_main): Likewise.
1783
5bb0c10a
PT
17842012-10-03 Pino Toscano <toscano.pino@tiscali.it>
1785
1786 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1787 _SC_LEVEL4_CACHE_LINESIZE.
1788
010188c6
RM
17892012-10-03 Roland McGrath <roland@hack.frob.com>
1790
1791 * sysdeps/unix/bsd/confstr.h: File removed.
1792
b6c5ec07
AO
17932012-10-02 Alexandre Oliva <aoliva@redhat.com>
1794
1795 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1796 sys/sdt-config.h.
1797
408223d4
RM
17982012-10-02 Roland McGrath <roland@hack.frob.com>
1799
1800 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1801 Make 'mapoff' field ElfW(Off) rather than off_t.
1802
bb9510dc
DL
18032012-10-02 Dmitry V. Levin <ldv@altlinux.org>
1804
fc997c6e
DL
1805 * nscd/Makefile: Remove nscd-cflags and all its users.
1806 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1807 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1808
bb9510dc
DL
1809 [BZ #10631]
1810 * malloc.c (malloc_printerr): Clarify error message.
1811
05699367
L
18122012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1813
1814 [BZ #14648]
1815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1816 Set bit_FMA_Usable if FMA is supported.
1817 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1818 macro.
1819 (bit_FMA4_Usable): Updated.
1820 (index_FMA_Usable): New macro.
1821 (CPUID_FMA): Likewise
1822 (HAS_FMA): Defined with bit_FMA_Usable.
1823
51367701
RM
18242012-10-01 Roland McGrath <roland@hack.frob.com>
1825
1826 * bits/types.h (__swblk_t): Type removed.
1827 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1828 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1829 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1830 (__SWBLK_T_TYPE): Likewise.
1831 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1832 (__SWBLK_T_TYPE): Likewise.
1833 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1834 (__SWBLK_T_TYPE): Likewise.
1835 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1836 (__SWBLK_T_TYPE): Likewise.
1837
4d57bf63 18382012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 1839 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
1840
1841 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1842 (xdr_mapname): Use YPMAXMAP as maxsize.
1843 (xdr_peername): Use YPMAXPEER as maxsize.
1844 (xdr_keydat): Use YPAXRECORD as maxsize.
1845 (xdr_valdat): Use YPMAXRECORD as maxsize.
1846
93c65d43
RM
18472012-10-01 Roland McGrath <roland@hack.frob.com>
1848
497a03d6
RM
1849 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1850
93c65d43
RM
1851 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1852 * csu/init-first.c: ... here.
1853 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1854 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1855 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1856 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1857 * sysdeps/i386/init-first.c: File removed.
1858 * sysdeps/sh/init-first.c: File removed.
1859
bec749fd
JM
18602012-10-01 Joseph Myers <joseph@codesourcery.com>
1861
1862 [BZ #14645]
1863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1864 if x * y might underflow to zero and z is zero.
1865 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1866 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1867 * math/libm-test.inc (min_subnorm_value): New variable.
1868 (fma_test): Add more tests.
1869 (fma_test_towardzero): Likewise.
1870 (fma_test_downward): Likewise
1871 (fma_test_upward): Likewise.
1872 (initialize): Set min_subnorm_value.
1873
8ec5b013
JM
18742012-09-29 Joseph Myers <joseph@codesourcery.com>
1875
1876 [BZ #14638]
1877 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1878 0 + 0.
1879 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1880 mode for addition resulting in exact zero.
1881 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1882 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1883 exact 0 + 0.
1884 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1885 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1886 * math/libm-test.inc (fma_test): Add more tests.
1887 (fma_test_towardzero): New function.
1888 (fma_test_downward): Likewise.
1889 (fma_test_upward): Likewise.
1890 (main): Call the new functions.
1891
b1fa802e
DM
18922012-09-28 David S. Miller <davem@davemloft.net>
1893
1894 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1895
d3b9fd9e
RM
18962012-09-28 Roland McGrath <roland@hack.frob.com>
1897
ea4d37b3
RM
1898 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1899 instead of SIGALRM.
1900
ac51c949
RM
1901 * sysdeps/gnu/_G_config.h: Moved to ...
1902 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1903 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1904 * sysdeps/generic/_G_config.h: ... here.
1905
28c195f7
RM
1906 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1907
848917f9
RM
1908 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1909
6bacf05b
RM
1910 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1911 Conditionalize target on [libnss_test1.so-version].
1912
91363dbb
RM
1913 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1914
cc87f7d8
RM
1915 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1916 (elfobjdir): Move out of conditionals.
1917
b1c608fe
RM
1918 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1919 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1920 (__nss_lookup_function): Conditionalize label remove_from_tree on
1921 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 1922
1d9a6d96
DM
19232012-09-28 David S. Miller <davem@davemloft.net>
1924
1925 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1926 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1927 file.
1928 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1929 sysdep_routines.
1930 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1931 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1932 when HWCAP_SPARC_CRYPTO is present.
1933
72581615
PT
19342012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1935
1936 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1937
715a900c
JL
19382012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1939
1940 [BZ #6530]
1941 * stdio-common/vfprintf.c (process_string_arg): Revert
1942 2000-07-22 change.
1943
19442011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1945
1946 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1947 for testcase.
1948 * stdio-common/tst-sprintf.c: Include <locale.h>
1949 (main): Test sprintf's handling of incomplete multibyte
1950 characters.
1951
9bac1d86
L
19522012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1953
1954 * elf/dl-runtime.c (VERSYMIDX): Removed.
1955 * elf/dl-version.c (VERSYMIDX): Likewise.
1956 * elf/do-rel.h (VERSYMIDX): Likewise.
1957 (VALIDX): Likewise.
1958 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1959 * elf/rtld.c (VALIDX): Likewise.
1960 (ADDRIDX): Likewise.
9bac1d86
L
1961 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1962 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1963 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
1964 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1965 (VALIDX): Likewise.
1966 (ADDRIDX): Likewise.
9bac1d86 1967
b31606c0
PT
19682012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1969
1970 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1971
11541177
JL
19722012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1973
1974 [BZ #11438]
1975 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1976 to global scope.
1977 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1978 addresses are in the same scope as 192.0.2/24.
1979 * posix/gai.conf: Document new scope table defaults.
1980
adb26fae
SP
19812012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1982
1983 [BZ #5298]
1984 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1985 for ftell. Compute offsets from write pointers instead.
1986 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1987
4573c6b0
SP
19882012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1989
1990 [BZ #14543]
1991 * libio/Makefile (tests): New test case tst-fseek.
1992 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1993 combination works in wide mode.
1994 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1995 state when the external buffer state changes.
1996
aa9bbfe6
DM
19972012-09-27 David S. Miller <davem@davemloft.net>
1998
1999 [BZ #14376]
2000 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2001 pass reloc->r_addend in as the 'high' argument to
2002 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2003
784421e7
DM
2004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2005
c39bc8b8
PT
20062012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2007
2008 * rt/tst-aio2.c: Include <pthread.h>.
2009 * rt/tst-aio3.c: Likewise.
2010
1ccc2399
SE
20112012-09-27 Steve Ellcey <sellcey@mips.com>
2012
2013 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2014
31ed4153
L
20152012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2016
25f5f885
L
2017 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2018 contents on [SHARED].
31ed4153 2019
b7bfe116
MP
20202012-09-26 Marek Polacek <polacek@redhat.com>
2021
2022 [BZ #14530]
2023 [BZ #13741]
2024 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2025 for C++ and GCC <4.3 as well as for non GCC compilers.
2026
43c4edba
MT
20272012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2028
2029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2030
6a1bf82f
RM
20312012-09-25 Roland McGrath <roland@hack.frob.com>
2032
2033 * Makefile.in (all, install): Declare with .PHONY.
2034 Reported by Michael Hope <michael.hope@linaro.org>.
2035
8ad11b9a
TMQMF
20362012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2037
2038 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2039 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2040 system header.
2041 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2042 Likewise.
2043 (sydep_routines): Add the new and the internal functions.
2044 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2045 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2047 (GLIBC_2.17): Add the new function.
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2049 (GLIBC_2.17): Likewise.
2050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2051 (GLIBC_2.17): Likewise.
2052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2053 (GLIBC_2.17): Likewise.
2054 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2055
7e2fca8d
AM
20562012-09-25 Alan Modra <amodra@gmail.com>
2057
2058 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2059 Add release barrier before setting once_control to say
2060 initialisation is done. Add hints on lwarx. Use macro in
2061 place of isync.
2062 (clear_once_control): Add release barrier.
2063
b87c4b24
JM
20642012-09-25 Joseph Myers <joseph@codesourcery.com>
2065
d032e0d2
JM
2066 [BZ #13629]
2067 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2068 specially.
2069 * math/s_clog10.c (__clog10): Likewise.
2070 * math/s_clog10f.c (__clog10f): Likewise.
2071 * math/s_clog10l.c (__clog10l): Likewise.
2072 * math/s_clogf.c (__clogf): Likewise.
2073 * math/s_clogl.c (__clogl): Likewise.
2074 * math/Makefile (libm-calls): Add x2y2m1.
2075 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2076 (__x2y2m1): Likewise.
2077 (__x2y2m1l): Likewise.
2078 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2079 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2080 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2081 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2082 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2083 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2084 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2085 * sysdeps/i386/fpu/libm-test-ulps: Update.
2086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2087
b87c4b24
JM
2088 [BZ #14621]
2089 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2090 int as type of variable DEPTH.
2091 (glob): Use size_t instead of int as type of variables NEWCOUNT
2092 and OLD_PATHC.
2093
6d3bf199
LD
20942012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2095
22bf5c17
LD
2096 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2097 Add s_sincosf-sse2.
2098 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2099 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2100 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2101 macros for using routine as __sincosf_ia32.
2102 Use macro for function declaration and weak_alias.
2103 * sysdeps/i386/fpu/libm-test-ulps: Update.
2104
2105 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2107
2108 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
2109 subnormal argument.
2110 * math/s_cexpf.c (__cexpf): Likewise.
2111 * math/s_csinf.c (__csinf): Likewise.
2112 * math/s_csinhf.c (__csinhf): Likewise.
2113 * math/s_ctanf.c (__ctanf): Likewise.
2114 * math/s_ctanhf.c (__ctanhf): Likewise.
2115 * math/s_ccosh.c (__ccoshf): Likewise.
2116 * math/s_cexp.c (__cexpl): Likewise.
2117 * math/s_csin.c (__csin): Likewise.
2118 * math/s_csinh.c (__csinh): Likewise.
2119 * math/s_ctan.c (__ctan): Likewise.
2120 * math/s_ctanh.c (ctanh): Likewise.
2121 * math/s_ccoshl.c (__ccoshl): Likewise.
2122 * math/s_cexpl.c (__cexpl): Likewise.
2123 * math/s_csinl.c (__csinl): Likewise.
2124 * math/s_csinhl.c (__csinhl): Likewise.
2125 * math/s_ctanl.c (__ctanl): Likewise.
2126 * math/s_ctanhl.c (__ctanhl): Likewise.
2127
203e5603
JM
21282012-09-25 Joseph Myers <joseph@codesourcery.com>
2129
2130 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2131 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2132 (_IO_off_t): Define to __off_t, not _G_off_t.
2133 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2134 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2135 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2136 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2137 type of __dummy and __dummy2 fields.
2138 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2139 (_G_ssize_t): Likewise.
2140 (_G_off_t): Likewise.
2141 (_G_pid_t): Likewise.
2142 (_G_uid_t): Likewise.
2143 (_G_wchar_t): Likewise.
2144 (_G_wint_t): Likewise.
2145 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2146 (_G_ssize_t): Likewise.
2147 (_G_off_t): Likewise.
2148 (_G_pid_t): Likewise.
2149 (_G_uid_t): Likewise.
2150 (_G_wchar_t): Likewise.
2151 (_G_wint_t): Likewise.
2152 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2153 (_G_ssize_t): Likewise.
2154 (_G_off_t): Likewise.
2155 (_G_pid_t): Likewise.
2156 (_G_uid_t): Likewise.
2157 (_G_wchar_t): Likewise.
2158 (_G_wint_t): Likewise.
2159
9fab36eb
SP
21602012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2161
2162 * malloc/arena.c: Include malloc-sysdep.h.
2163 (shrink_heap): Use check_may_shrink_heap to decide if madvise
2164 is sufficient to shrink the heap or an unmap is needed.
2165 * sysdeps/generic/malloc-sysdep.h: New file. Define
2166 new function check_may_shrink_heap.
2167 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
2168 new function check_may_shrink_heap.
2169
2b4f00d1
SP
21702012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2171
2172 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2173 comments.
2174
9a9028b1
DL
21752012-09-24 Dmitry V. Levin <ldv@altlinux.org>
2176
57c69bef
DL
2177 * catgets/test-gencat.sh: Add "set -e".
2178 * elf/tst-pathopt.sh: Likewise.
2179 * grp/tst_fgetgrent.sh: Likewise.
2180 * iconvdata/run-iconv-test.sh: Likewise.
2181 * intl/tst-gettext.sh: Likewise.
2182 * intl/tst-gettext2.sh: Likewise.
2183 * intl/tst-gettext4.sh: Likewise.
2184 * intl/tst-gettext6.sh: Likewise.
2185 * intl/tst-translit.sh: Likewise.
2186 * io/ftwtest-sh: Likewise.
2187 * libio/test-freopen.sh: Likewise.
2188 * malloc/tst-mtrace.sh: Likewise.
2189 * posix/globtest.sh: Likewise.
2190 * posix/tst-getconf.sh: Likewise.
2191 * posix/wordexp-tst.sh: Likewise.
2192 * stdio-common/tst-printf.sh: Likewise.
2193 * stdio-common/tst-unbputc.sh: Likewise.
2194 * stdlib/tst-fmtmsg.sh: Likewise.
2195 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2196 * catgets/Makefile: Do not specify -e option when running
2197 testsuite shell scripts.
2198 * elf/Makefile: Likewise.
2199 * grp/Makefile: Likewise.
2200 * iconvdata/Makefile: Likewise.
2201 * intl/Makefile: Likewise.
2202 * io/Makefile: Likewise.
2203 * libio/Makefile: Likewise.
2204 * malloc/Makefile: Likewise.
2205 * posix/Makefile: Likewise.
2206 * stdio-common/Makefile: Likewise.
2207 * stdlib/Makefile: Likewise.
2208 * sysdeps/x86_64/Makefile: Likewise.
2209
9a9028b1
DL
2210 * io/ftwtest-sh: Add copyright header.
2211 * posix/globtest.sh: Likewise.
2212 * posix/tst-getconf.sh: Likewise.
2213 * posix/wordexp-tst.sh: Likewise.
2214 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2215
ced6f16e
L
22162012-09-24 H.J. Lu <hongjiu.lu@intel.com>
2217
94b32c39
L
2218 [BZ #13679]
2219 * Makeconfig (+link): Defined as $(+link-static) if
2220 $(build-shared) isn't yes.
2221 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
2222 isn't yes.
2223 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
2224
189e935b
L
2225 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
2226
ced6f16e
L
2227 [BZ #14562]
2228 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
2229 new chunk size with MALLOC_ALIGN_MASK.
2230
a9f8e53a
JM
22312012-09-24 Joseph Myers <joseph@codesourcery.com>
2232
2233 [BZ #5044]
2234 * stdio-common/printf_fphex.c: Include <stdbool.h> and
2235 <rounding-mode.h>.
2236 (__printf_fphex): Determine rounding using get_rounding_mode and
2237 round_away.
2238 * stdio-common/tst-printf-round.c (struct hex_test): New
2239 structure.
2240 (hex_tests): New variable.
2241 (test_hex_in_one_mode): New function.
2242 (do_test): Also run tests for hex float output.
2243
43153109
JM
22442012-09-21 Joseph Myers <joseph@codesourcery.com>
2245
2246 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2247 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2248 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
2249 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2250 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2251 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
2252 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2253 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2254
8a26625d
JM
22552012-09-20 Joseph Myers <joseph@codesourcery.com>
2256
2257 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
2258 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
2259 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
2260 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
2261
f3fd569c
DL
22622012-09-19 Dmitry V. Levin <ldv@altlinux.org>
2263
2264 [BZ #14579]
2265 * elf/rtld.c (dl_main): Limit the check for self loading to normal
2266 mode only.
2267 * elf/tst-rtld-load-self.sh: New test.
2268 * elf/Makefile: Run it.
2269
63bbedd4
JM
22702012-09-18 Joseph Myers <joseph@codesourcery.com>
2271
2272 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
2273 (tst-writev-ENV): Remove.
2274 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
2275
626f8b6a
CM
22762012-09-17 Chris Metcalf <cmetcalf@tilera.com>
2277
2278 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
2279
b7aaa4d6
JM
22802012-09-17 Joseph Myers <joseph@codesourcery.com>
2281
2282 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
2283 unconditional.
2284 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
2285 Likewise.
2286 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
2287 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
2288 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
2289 Likewise.
2290
65513990
L
22912012-09-14 H.J. Lu <hongjiu.lu@intel.com>
2292
2293 [BZ #14587]
2294 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
2295 * config.make.in (have-cpp-asm-debuginfo): Removed.
2296 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
2297 * configure: Regenerated.
2298
784761be
JM
22992012-09-14 Joseph Myers <joseph@codesourcery.com>
2300
2301 [BZ #5044]
2302 * stdio-common/printf_fp.c: Include <stdbool.h> and
2303 <rounding-mode.h>.
2304 (___printf_fp): Determine rounding using get_rounding_mode and
2305 round_away.
2306 * stdio-common/tst-printf-round.c: New file.
2307 * stdio-common/Makefile (tests): Add tst-printf-round.
2308 (link-libm): New variable.
2309 ($(objpfx)tst-printf-round): Depend in $(link-libm).
2310
9503345f
L
23112012-09-13 H.J. Lu <hongjiu.lu@intel.com>
2312
2313 [BZ #14576]
2314 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
2315 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
2316 Likewise.
2317 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
2318 Likewise.
2319
ad35fc00
JM
23202012-09-13 Joseph Myers <joseph@codesourcery.com>
2321
2322 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
2323 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2324 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2325 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2326
6c9b0f68
JM
23272012-09-12 Joseph Myers <joseph@codesourcery.com>
2328
2329 [BZ #14518]
2330 * include/rounding-mode.h: New file.
2331 * sysdeps/generic/get-rounding-mode.h: Likewise.
2332 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
2333 * stdlib/strtod_l.c: Include <rounding-mode.h>.
2334 (MAX_VALUE): New macro.
2335 (MIN_VALUE): Likewise.
2336 (overflow_value): New function.
2337 (underflow_value): Likewise.
2338 (round_and_return): Use overflow_value and underflow_value to
2339 determine return values in overflow and underflow cases. Use
2340 round_away to determine rounding depending on rounding mode.
2341 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
2342 determine return values in overflow and underflow cases.
2343 * stdlib/tst-strtod-round.c: Include <fenv.h>.
2344 (struct test_results): New structure.
2345 (struct test): Use struct test_results to store expected results
2346 for all rounding modes.
2347 (TEST): Include expected results for all rounding modes.
2348 (test_in_one_mode): New function.
2349 (do_test): Use test_in_one_mode to compute and check results.
2350 Check results for all rounding modes.
2351 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
2352 $(link-libm).
2353
19fcedd5
AM
23542012-12-09 Allan McRae <allan@archlinux.org>
2355
1e9d84cd 2356 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 2357
8bbfd2f1
JM
23582012-09-11 Joseph Myers <joseph@codesourcery.com>
2359
2360 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
2361 (_G_int32_t): Likewise.
2362 (_G_uint16_t): Likewise.
2363 (_G_uint32_t): Likewise.
2364 (_G_HAVE_BOOL): Likewise.
2365 (_G_HAVE_ATEXIT): Likewise.
2366 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2367 (_G_HAVE_IO_FILE_OPEN): Likewise.
2368 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
2369 (_G_int32_t): Likewise.
2370 (_G_uint16_t): Likewise.
2371 (_G_uint32_t): Likewise.
2372 (_G_HAVE_BOOL): Likewise.
2373 (_G_HAVE_ATEXIT): Likewise.
2374 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2375 (_G_HAVE_IO_FILE_OPEN): Likewise.
2376 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
2377 (_G_int32_t): Likewise.
2378 (_G_uint16_t): Likewise.
2379 (_G_uint32_t): Likewise.
2380 (_G_HAVE_BOOL): Likewise.
2381 (_G_HAVE_ATEXIT): Likewise.
2382 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2383 (_G_HAVE_IO_FILE_OPEN): Likewise.
2384
b1dc5912
L
23852012-09-11 H.J. Lu <hongjiu.lu@intel.com>
2386
2387 * csu/libc-tls.c: Update copyright years.
2388
0e886ef9
JM
23892012-09-10 Joseph Myers <joseph@codesourcery.com>
2390
28361c5e
JM
2391 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
2392 [!_G_USING_THUNKS]: Remove conditional code.
2393 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
2394 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
2395
0e886ef9
JM
2396 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
2397 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
2398 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2399 (_G_VTABLE_LABEL_PREFIX): Likewise.
2400 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2401 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2402 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2403 (_G_VTABLE_LABEL_PREFIX): Likewise.
2404 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2405 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2406 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2407 (_G_VTABLE_LABEL_PREFIX): Likewise.
2408 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2409
bcba7aa2
L
24102012-09-10 H.J. Lu <hongjiu.lu@intel.com>
2411
2412 * libio/Makefile: Include ../Makeconfig before tests.
2413 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
2414 only if $(build-shared) is yes.
2415
06585ee8
L
2416 * iconv/gconv_db.c: Update copyright years.
2417
80ccd52c
LD
24182012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2419
2420 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
2421 unwind info if defined PIC. Fix special cases description.
2422 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
2423
2424 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
2425 DP_HI_MASK entry.
2426 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
2427
691bc9c1
L
24282012-09-07 H.J. Lu <hongjiu.lu@intel.com>
2429
3d9b46b3
L
2430 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
2431
de2139a9
L
2432 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
2433 is NULL.
2434
5ca78dd0
L
2435 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
2436 (LDLIBS-tst-chk4): This.
2437 (LDFLAGS-tst-chk5): Renamed to ...
2438 (LDLIBS-tst-chk5): This.
2439 (LDFLAGS-tst-chk6): Renamed to ...
2440 (LDLIBS-tst-chk6): This.
2441 (LDFLAGS-tst-lfschk4): Renamed to ...
2442 (LDLIBS-tst-lfschk4): This.
2443 (LDFLAGS-tst-lfschk5): Renamed to ...
2444 (LDLIBS-tst-lfschk5): This.
2445 (LDFLAGS-tst-lfschk6): Renamed to ...
2446 (LDLIBS-tst-lfschk6): This.
2447
691bc9c1
L
2448 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
2449 on $(common-objpfx)soversions.mk.
2450
65cafb1c
JM
24512012-09-07 Joseph Myers <joseph@codesourcery.com>
2452
2453 [BZ #10014]
2454 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
2455 example host name.
2456
c78ab094
SP
24572012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2458
2459 * malloc/arena.c (arena_get_retry): New function that gets
2460 another arena for the caller to try its request on.
2461 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
2462 current arena cannot fulfill the request.
2463 (__libc_memalign): Likewise.
2464 (__libc_memalign): Likewise.
2465 (__libc_pvalloc): Likewise.
2466 (__libc_calloc): Likewise.
2467
01f49f59
JT
24682012-09-05 John Tobey <john.tobey@gmail.com>
2469
2470 [BZ #13542]
2471 * manual/arith.texi (Operations on Complex): Fix description
2472 of carg branch cut.
2473
4c23fed5
JM
24742012-09-06 Joseph Myers <joseph@codesourcery.com>
2475
1d3c8572
JM
2476 [BZ #10014]
2477 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
2478 host name.
2479
4c23fed5
JM
2480 [BZ #10038]
2481 * manual/memory.texi (Memory): Make order of menu items match
2482 order of sections.
2483
04570aaa
L
24842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2485
2486 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
2487 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
2488 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
2489
b80af2f4
L
24902012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2491
2492 * csu/libc-tls.c (static_dtv): Renamed to ...
2493 (_dl_static_dtv): This. Make it global.
2494 (_dl_initial_dtv): Removed.
2495 (__libc_setup_tls): Updated.
2496 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
2497 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
2498 DL_INITIAL_DTV.
2499
2abe9f15
PM
25002012-09-06 Petr Machata <pmachata@redhat.com>
2501
2502 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
2503 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
2504 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
2505 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
2506
0948c3af
L
25072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2508
2509 [BZ #14545]
2510 * csu/libc-tls.c (_dl_initial_dtv): New variable.
2511 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
2512 freeing dtv[-1].
2513
a5055ad1
L
25142012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2515
2516 [BZ #14544]
2517 * Makeconfig (link-static-before-libc): Replace $(+prector)
2518 with $(+prectorT).
2519 (link-static-after-libc): Replace $(+postctor) with
2520 $(+postctorT).
2521 (link-bounded): Replace $(+prector)/$(+postctor) with
2522 $(+prectorT)/$(+postctorT).
2523 (+prectorT): New macro.
2524 (+postctorT): Likewise.
2525
ed8c2ecd
JM
25262012-09-06 Joseph Myers <joseph@codesourcery.com>
2527
2528 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
2529 (round_str): Handle values above the maximum for IBM long double
2530 as inexact.
2531 * stdlib/tst-strtod-round.c (tests): Regenerated.
2532
14c996c8
AK
25332012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2534
2535 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
2536 assembler flag.
2537 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
2538 zarch_nohighgprs around the zarch optimized routines.
2539 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2540 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2541 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
2542 for zarch.
2543
430d6ce6
DM
25442012-09-05 David S. Miller <davem@davemloft.net>
2545
2546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2547
ff04dda4
DM
2548 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
2549 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
2550 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
2551 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
2552 entries.
2553
24d4e01b
AO
25542012-09-05 Alexandre Oliva <aoliva@redhat.com>
2555
2556 * malloc/arena.c: Fold copyright years.
2557 * malloc/mcheck.c, malloc/memusage.c: Likewise.
2558
61d58174
AO
25592012-09-05 Alexandre Oliva <aoliva@redhat.com>
2560
2561 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
2562
20196a5e
AO
25632012-09-05 Alexandre Oliva <aoliva@redhat.com>
2564
2565 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
2566
5c447383
AO
25672012-09-05 Alexandre Oliva <aoliva@redhat.com>
2568
2569 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
2570 change internal state upon failure.
2571
fad64255
AO
25722012-09-05 Alexandre Oliva <aoliva@redhat.com>
2573
2574 * malloc/mcheck.c (mcheck_check_all): Fix typo.
2575 * malloc/memusage.c (mmap): Likewise.
2576 (mmap64, mremap): Likewise. Adjust name in comment.
2577
1ffb8c90
SP
25782012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2579
2580 * libio/fileops.c: Fix typos in comments.
2581 * libio/oldfileops.c: Likewise.
2582 * libio/wfileops.c: Likewise.
2583
6ef9cc37
SP
25842012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2585
2586 [BZ #1349]
2587 * malloc/Makefile (tests): Add tst-malloc-usable test case.
2588 (tst-malloc-usable-ENV): Set environment for test case.
2589 * malloc/hooks.c (malloc_check_get_size): New function to get
2590 requested size.
2591 * malloc/malloc.c (musable): Use malloc_check_get_size.
2592 * malloc/tst-malloc-usable.c: New test case.
2593
4d038ae3
AS
25942012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2595
2596 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
2597
c4e85184
AM
25982012-09-05 Allan McRae <allan@archlinux.org>
2599
b9dafc56 2600 [BZ #13966]
c4e85184
AM
2601 * configure.in (CXX_SYSINCLUDES): Use compiler output to
2602 determine header location.
2603 * configure: Regenerated.
2604
e1343020
AS
26052012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2606
2607 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
2608 float format.
2609 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
2610 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
2611 format.
e1343020
AS
2612 (test): Regenerate.
2613
0a9f1987
DM
26142012-09-04 David S. Miller <davem@davemloft.net>
2615
2616 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
2617 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
2618 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2619
29237804
FW
26202012-09-04 Florian Weimer <fweimer@redhat.com>
2621
2622 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
2623 failures.
2624
edb3cb88
FW
2625 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
2626
60160d83
JM
26272012-09-04 Joseph Myers <joseph@codesourcery.com>
2628
2629 [BZ #9914]
2630 * libio/iogetdelim.c: Include <limits.h>.
2631 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
2632 + len + 1 would overflow.
2633
bcd6c8dc
AJ
26342012-09-03 Andreas Jaeger <aj@suse.de>
2635
2636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2637 * sysdeps/i386/fpu/libm-test-ulps: Update.
2638
4ffffbd2
LD
26392012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2640
2641 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2642 Add s_sinf-sse2, s_conf-sse2.
2643
2644 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
2645 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
2646 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
2647 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
2648
2649 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
2650 for using routine as __sinf_ia32.
2651 Use macro for function declaration and weak_alias.
2652 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
2653 for using routine as __cosf_ia32.
2654 Use macro for function declaration and weak_alias.
2655
2656 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
2657 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
2658
2659 * sysdeps/x86_64/fpu/s_sinf.S: New file.
2660 * sysdeps/x86_64/fpu/s_cosf.S: New file.
2661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2662
2663 * math/libm-test.inc (cos_test): Add more test cases.
2664 (sin_test): Likewise.
2665 (sincos_test): Likewise.
2666
511fa286
AK
26672012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2668
2669 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2670 (IFUNC_RESOLVE): Make pointers to the specialized implementations
2671 hidden.
2672 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2673
5f30cfec
L
26742012-09-02 H.J. Lu <hongjiu.lu@intel.com>
2675
2676 [BZ #14538]
2677 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2678 first element of the GOT.
2679 (elf_machine_load_address): Return the difference between
2680 the runtime address of _DYNAMIC and elf_machine_dynamic ().
2681
0786794f
AM
26822012-09-01 Allan McRae <allan@archlinux.org>
2683
5f30cfec
L
2684 [BZ #13412]
2685 * configure.in (AWK): Require gawk version 3.0 or later.
2686 * configure: Regenerated.
0786794f 2687
26889eac
JM
26882012-09-01 Joseph Myers <joseph@codesourcery.com>
2689
2690 * sysdeps/unix/sysv/linux/kernel-features.h
2691 (__ASSUME_POSIX_CPU_TIMERS): Remove.
2692 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2693 [__NR_clock_getres]: Make code unconditional.
2694 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2695 (clock_getcpuclockid): Remove code left unreachable by removal of
2696 conditionals.
2697 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2698 code unconditional.
2699 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2700 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2701 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2702 Make code unconditional.
2703 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2704 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2705 * sysdeps/unix/sysv/linux/clock_settime.c
2706 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2707 conditional code.
2708 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2709 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2710
d22e28b0
L
27112012-08-29 H.J. Lu <hongjiu.lu@intel.com>
2712
2713 [BZ #14476]
2714 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2715 scripts/test-installation.pl.
2716
2717 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2718 and $ld_so_version if it is set.
2719
050af9c4
SP
27202012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2721
2722 [BZ #14516]
2723 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2724 failure if reading from procfs failed.
2725 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2726
ad845c0b
JM
27272012-08-27 Joseph Myers <joseph@codesourcery.com>
2728
2729 * sysdeps/unix/sysv/linux/kernel-features.h
2730 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2731 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2732 Remove conditional code.
2733 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2734 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2735 Remove conditional code.
2736 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2737 * sysdeps/unix/sysv/linux/i386/fxstat.c
2738 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2739 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2740 * sysdeps/unix/sysv/linux/i386/fxstatat.c
2741 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2742 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2743 * sysdeps/unix/sysv/linux/i386/lxstat.c
2744 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2745 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2746 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2747 Remove conditional code.
2748 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2749 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2750 Remove conditional code.
2751 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2752 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2753 <kernel-features.h>.
2754 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2755 Remove.
2756 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2757 Remove conditional code.
2758 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2759 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2760 Remove conditional.
2761
5dbf56af
MF
27622012-08-27 Mike Frysinger <vapier@gentoo.org>
2763
2764 [BZ #5400]
2765 * NEWS: Add fixed bug number.
2766
d6e70f43
JM
27672012-08-27 Joseph Myers <joseph@codesourcery.com>
2768
7efb4737
JM
2769 [BZ #14519]
2770 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2771 underflowing exponent in case of negative sign.
2772 * stdlib/tst-strtod-round-data: Add more tests.
2773 * stdlib/tst-strtod-round.c (tests): Regenerated.
2774
af92131a
JM
2775 [BZ #3479]
2776 * stdlib/strtod_l.c (NDIG): Remove.
2777 (HEXNDIG): Likewise.
2778 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2779 smallest representable value.
2780 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2781 lie within an exact representation of 1/2 ulp of the result.
2782 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2783 unconditionally.
2784 (TENS_P9_IDX): Define unconditionally.
2785 (TENS_P9_SIZE): Likewise.
2786 (TENS_P10_IDX): Likewise.
2787 (TENS_P10_SIZE): Likewise.
2788 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2789 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2790 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2791 entries for 10^2^13 and 10^2^14.
2792 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2793 (TENS_P13_IDX): Define.
2794 (TENS_P13_SIZE): Likewise.
2795 (TENS_P14_IDX): Likewise.
2796 (TENS_P14_SIZE): Likewise.
2797 (_fpioconst_pow10): Change array size to
2798 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
2799 unconditional.
2800 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2801 1024]: Add entries for 10^2^13 and 10^2^14.
2802 [LAST_POW10 > _LAST_POW10]: Remove #error.
2803 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2804 (_fpioconst_pow10): Change array size to
2805 FPIOCONST_POW10_ARRAY_SIZE.
2806 * stdlib/gen-fpioconst.c: New file.
2807 * stdlib/gen-tst-strtod-round.c: Likewise.
2808 * stdlib/tst-strtod-round-data: Likewise.
2809 * stdlib/tst-strtod-round.c: Likewise.
2810 * stdlib/Makefile (tests): Add tst-strtod-round.
2811
d6e70f43
JM
2812 [BZ #14459]
2813 * stdlib/strtod_l.c: Include <stdint.h>.
2814 (NDEBUG): Do not define.
2815 (round_and_return): Change EXPONENT parameter to type intmax_t.
2816 Rearrange calculations to avoid internal overflow possibilities.
2817 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2818 Rearrange calculations to avoid internal overflow possibilities.
2819 Assert that number fits inside MPNSIZE limbs.
2820 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2821 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2822 calculations and add assertions to avoid internal overflow
2823 possibilities. Add casts to avoid signed/unsigned operations.
2824 * stdlib/tst-strtod-overflow.c: New file.
2825 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2826
1f529f7d
MP
28272012-08-25 Marek Polacek <polacek@redhat.com>
2828
2829 * time/time.h: Fix some typos in comments.
2830
59a629f1
RM
28312012-08-23 Roland McGrath <roland@hack.frob.com>
2832
2833 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2834 * posix/tst-rfc3484-2.c: Likewise.
2835 * posix/tst-rfc3484-3.c: Likewise.
2836
d3bafbc9
SM
28372012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2838
2839 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2840 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2841
4efcc022
JM
28422012-08-23 Joseph Myers <joseph@codesourcery.com>
2843
2844 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2845 #include of fxstatat64.c.
2846
3cc3ef96
RM
28472012-08-22 Roland McGrath <roland@hack.frob.com>
2848
f04e2132
RM
2849 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2850 * shadow/getspent_r.c: Likewise.
2851 * shadow/getspnam.c: Likewise.
2852 * shadow/getspnam_r.c: Likewise.
2853 * gshadow/getsgent.c: Likewise.
2854 * gshadow/getsgent_r.c: Likewise.
2855 * gshadow/getsgnam.c: Likewise.
2856 * gshadow/getsgnam_r.c: Likewise.
2857 * inet/getnetbyad.c: Likewise.
2858 * inet/getnetbyad_r.c: Likewise.
2859 * inet/getnetbynm.c: Likewise.
2860 * inet/getnetbynm_r.c: Likewise.
2861 * inet/getnetent.c: Likewise.
2862 * inet/getnetent_r.c: Likewise.
2863 * inet/getproto.c: Likewise.
2864 * inet/getproto_r.c: Likewise.
2865 * inet/getprtent.c: Likewise.
2866 * inet/getprtent_r.c: Likewise.
2867 * inet/getprtname.c: Likewise.
2868 * inet/getprtname_r.c: Likewise.
2869 * inet/getrpcbyname.c: Likewise.
2870 * inet/getrpcbyname_r.c: Likewise.
2871 * inet/getrpcbynumber.c: Likewise.
2872 * inet/getrpcbynumber_r.c: Likewise.
2873 * inet/getrpcent.c: Likewise.
2874 * inet/getrpcent_r.c: Likewise.
2875 * inet/getaliasent.c: Likewise.
2876 * inet/getaliasent_r.c: Likewise.
2877 * inet/getaliasname.c: Likewise.
2878 * inet/getaliasname_r.c: Likewise.
2879 * nscd/getgrgid_r.c: Likewise.
2880 * nscd/getgrnam_r.c: Likewise.
2881 * nscd/gethstbyad_r.c: Likewise.
2882 * nscd/gethstbynm3_r.c: Likewise.
2883 * nscd/getpwnam_r.c: Likewise.
2884 * nscd/getpwuid_r.c: Likewise.
2885 * nscd/getsrvbynm_r.c: Likewise.
2886 * nscd/getsrvbypt_r.c: Likewise.
2887 * nscd/gai.c: Likewise.
2888
c53d909c
RM
2889 * configure.in (build_nscd): New substituted variable, set
2890 by --disable-build-nscd and defaults to $use_nscd.
2891 * configure: Regenerated.
2892 * config.make.in (build-nscd): New substituted variable.
2893 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2894 Change conditional to require [$(build-nscd) = yes] as well.
2895 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2896
3cc3ef96
RM
2897 [BZ# 13696]
2898 * configure.in (use_nscd): New substituted variable, set by
2899 --disable-nscd. If enabled, define USE_NSCD.
2900 * configure: Regenerated.
2901 * config.h.in: Add USE_NSCD.
2902 * config.make.in (use-nscd): New substituted variable.
2903 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2904 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2905 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2906 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2907 (CFLAGS-getgrnam_r.c): Likewise.
2908 (CFLAGS-initgroups.c): Likewise.
2909 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2910 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2911 Variables removed.
2912 * inet/getnetgrent_r.c
2913 (nscd_setnetgrent): New function, broken out of ...
2914 (setnetgrent): ... here. Call it.
2915 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2916 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2917 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2918 * nscd/Makefile (routines, aux): Move definitions after include of
2919 Makeconfig. Conditionalize on [$(use-nscd) != no].
2920 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2921 Conditionalize on [USE_NSCD].
2922 (is_nscd, nscd_init_cb): Likewise.
2923 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2924 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2925 * nss/nss_db/db-init.c: Likewise.
2926 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2927 [USE_NSCD].
2928 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2929 (make_request): Use it.
2930 (cache_valid_p): New function.
2931 (__check_pf): Use it.
2932 * NEWS: Add item for --disable-nscd.
2933
07e51550
DL
29342012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2935
2936 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2937 to support sed >= 4.2.1-20-ga9bf076.
2938 * configure: Regenerated.
2939
35a5b08b
RM
29402012-08-22 Roland McGrath <roland@hack.frob.com>
2941
2942 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2943 Conditionalize whole body on [IREL].
2944
8479f23a
JL
29452012-08-22 Jeff Law <law@redhat.com>
2946
2947 [BZ #14505]
2948 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2949 if the family is PF_UNSPEC.
2950
48da0b21
MF
29512012-08-22 Mike Frysinger <vapier@gentoo.org>
2952
2953 * Makerules (lib-version): Rename from V.
2954 (install-lib-nosubdir): Change V to lib-version.
2955
15d0da8c
WS
29562012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2957
2958 [BZ #14252]
2959 * powerpc32/power6/wcschr.c: New file.
2960 * powerpc32/power6/wcscpy.c: New file.
2961 * powerpc32/power6/wcsrchr.c: New file.
2962 * powerpc64/power6/wcschr.c: New file.
2963 * powerpc64/power6/wcscpy.c: New file.
2964 * powerpc64/power6/wcsrchr.c: New file.
2965
bcca0895
MK
29662012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2967
2968 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2969 (two_way_short_needle): Use it.
5a4aaa33
RM
2970 * string/strstr.c (AVAILABLE1_USES_J): Define.
2971 * string/strcasestr.c: Likewise.
99677e57
MK
2972
2973 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2974 array references.
2975 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2976
400726de
MK
2977 [BZ #11607]
2978 * NEWS: Add an entry.
2979 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2980 define their defaults.
2981 (two_way_short_needle): Detect end-of-string on-the-fly.
2982 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2983 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2984 * string/bug-strcasestr1.c: New test.
2985 * string/Makefile: Run it.
2986
20a71f2c
MK
29872012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2988
2989 [BZ #11607]
2990 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2991 the first character.
2992
21ad0558
RM
29932012-08-21 Roland McGrath <roland@hack.frob.com>
2994
2995 * csu/elf-init.c (__libc_csu_irel): Function removed.
2996 * csu/libc-start.c (apply_irel): New function.
2997 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2998
0e1d9911
JM
29992012-08-21 Joseph Myers <joseph@codesourcery.com>
3000
3001 * sysdeps/unix/sysv/linux/kernel-features.h
3002 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3003 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3004 <kernel-features.h>.
3005 [__NR_fadvise64_64]: Make code unconditional.
3006 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3007 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3008 !__NR_fadvise64_64)]: Likewise.
3009 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3010 !__NR_fadvise64_64))]: Likewise.
3011 [__NR_fadvise64]: Make code unconditional.
3012 [!__NR_fadvise64]: Remove conditional code.
3013 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3014 <kernel-features.h>.
3015 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3016 unconditional.
3017 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3018 conditional code.
3019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3020 not include <kernel-features.h>.
3021 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3022 unconditional.
3023 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3024 conditional code.
3025 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3026 include <kernel-features.h>.
3027 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3028 unconditional.
3029 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3030 conditional code.
3031
14a50c9d
WS
30322012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3033
3034 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3035 slight instruction rearrangements per scrollpipe analysis.
3036 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3037
c0f4faf0
RM
30382012-08-20 Roland McGrath <roland@hack.frob.com>
3039
696da859
RM
3040 * manual/syslog.texi (syslog; vsyslog, closelog):
3041 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3042 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3043
c0f4faf0
RM
3044 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3045 DSOCAPS to match condition on defining it.
3046
348363b2
JM
30472012-08-20 Joseph Myers <joseph@codesourcery.com>
3048
a35cbf28
JM
3049 * sysdeps/unix/sysv/linux/kernel-features.h
3050 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3052 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3053 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3055 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3056 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3058 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3059 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3060
445f7ecd
JM
3061 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3062 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3063
348363b2
JM
3064 * sysdeps/unix/sysv/linux/kernel-features.h
3065 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3066 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3067 unconditional.
3068 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3069 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3070 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3071 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3072 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3073 Make code unconditional.
3074 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3075 (__mmap64) [!__NR_mmap2]: Likewise.
3076 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3077 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3078 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3079 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3080 [__NR_mmap2]: Make code unconditional.
3081 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3082 (__mmap64) [!__NR_mmap2]: Likewise.
3083
bc5bc0e5
AK
30842012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3085
3086 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3087
88d506de
AJ
30882012-08-18 Andreas Jaeger <aj@suse.de>
3089
3090 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3091
493387d2
MF
30922012-08-18 Mike Frysinger <vapier@gentoo.org>
3093
3094 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3095 * include/unistd.h (__have_sock_cloexec): Likewise.
3096 (__have_pipe2): Likewise.
3097 (__have_dup3): Likewise.
3098
a277af22
MF
30992012-08-18 Mike Frysinger <vapier@gentoo.org>
3100
3101 [BZ #9685]
3102 * include/unistd.h (__have_pipe2): Change define into an extern int.
3103 (__have_dup3): Likewise.
3104 * socket/have_sock_cloexec.c: Include fcntl.h.
3105 (__have_pipe2): New variable.
3106 (__have_dup3): Likewise.
3107
fdab8fd3
MF
31082012-08-17 Mike Frysinger <vapier@gentoo.org>
3109
3110 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3111
31035e80
MP
31122012-08-17 Marek Polacek <polacek@redhat.com>
3113
3114 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3115 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3116
3bd9e993
RM
31172012-08-17 Roland McGrath <roland@hack.frob.com>
3118
c91c505f
RM
3119 * configure.in: Add AC_SUBST for sysheaders.
3120 * configure: Regenerated.
3121 * config.make.in (sysheaders): New substituted variable.
3122
7c6f9d53
RM
3123 * sysdeps/unix/mkfifo.c: Moved ...
3124 * sysdeps/posix/mkfifo.c: ... here.
3125 * sysdeps/unix/mkfifoat.c: Moved ...
3126 * sysdeps/posix/mkfifoat.c: ... here.
3127
3128 * sysdeps/unix/utime.c: Moved ...
3129 * sysdeps/posix/utime.c: ... here.
3130
3131 * sysdeps/unix/time.c: Moved ...
3132 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
3133 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3134 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
3135
3136 * sysdeps/unix/nice.c: Moved ...
3137 * sysdeps/posix/nice.c: ... here.
3138
3139 * sysdeps/unix/alarm.c: Moved ...
3140 * sysdeps/posix/alarm.c: ... here.
3141
3bd9e993
RM
3142 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3143
d1f09384
JL
31442012-08-17 Jeff Law <law@redhat.com>
3145
3146 * intl/Makefile (codeset_mo): New variable.
3147 ($(codeset_mo)): New target.
3148 (tst-codeset.out): Depend on that. Remove explicit rule.
3149 (tst-gettext3.out, tst-gettext5.out): Likewise.
3150 (LOCPATH-ENV, tst-codeset-ENV): New variables.
3151 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3152 * intl/tst-codeset.sh: Remove.
3153 * intl/tst-gettext3.sh: Likewise.
3154 * intl/tst-gettext5.sh: Likewise.
3155
2ae1ae5c
RM
31562012-08-17 Roland McGrath <roland@hack.frob.com>
3157
c31fdb83
RM
3158 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
3159 * sysdeps/unix/syscalls.list: ... here.
3160
a0844057
RM
3161 * sysdeps/posix/getaddrinfo.c
3162 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3163 (gaiconf_init, gaiconf_reload): Use them.
3164 [!_STATBUF_ST_NSEC]
3165 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3166 Define using time_t rather than struct timespec.
3167
750c1f2a
RM
3168 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3169 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3170 Macros removed.
3171 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3172 [!NO_THREADS].
3173 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3174 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3175 Likewise.
3176
2ae1ae5c
RM
3177 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3178 __libc_cleanup_push argument.
3179
e66a42f5
RM
3180 * bits/param.h: New file.
3181 * misc/sys/param.h: New file.
3182 * include/sys/param.h: New file.
3183 * misc/Makefile (headers): Add bits/param.h.
3184 * sysdeps/generic/sys/param.h: File removed.
3185 * sysdeps/unix/sysv/linux/bits/param.h: New file.
3186 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3187 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 3188 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 3189
b7c08a66
RM
3190 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3191 last change.
3192
b2e1c562
RM
3193 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3194 [_IO_MTSAFE_IO].
3195 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3196 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3197 New macros.
3198
c75ccd4c
RM
3199 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3200 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3201 rather than -D_IO_MTSAFE_IO conditionally.
3202 * stdio-common/Makefile (CPPFLAGS): Likewise.
3203 * wcsmbs/Makefile (CPPFLAGS): Likewise.
3204 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3205 Use $(libio-mtsafe).
3206 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
3207 of -D_IO_MTSAFE_IO.
3208 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
3209 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
3210 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
3211 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
3212 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
3213 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
3214 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
3215 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
3216 (CFLAGS-fread_u_chk.c): Likewise.
3217 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
3218 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
3219 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
3220 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
3221 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
3222 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
3223 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
3224 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
3225 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
3226
3227 * libio/Makefile: Test [$(libc-reentrant) = yes]
3228 instead of [$(filter %REENTRANT, $(defines)) nonempty].
3229
3230 * Makeconfig
3231 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
3232 * sysdeps/pthread/configure: File removed.
3233 * sysdeps/pthread/Makeconfig: New file.
3234 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
3235 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
3236
d9195db8
GB
32372012-08-16 Gary Benson <gbenson@redhat.com>
3238
3239 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
3240 unmapping the first object in a namespace.
3241
86466cd9
RM
32422012-08-16 Roland McGrath <roland@hack.frob.com>
3243
3244 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
3245 (__internal_setnetgrent): ... this. Add internal_function to
3246 definition. Add libc_hidden_def.
3247 (setnetgrent): Update caller.
3248 (internal_endnetgrent): Renamed to ...
3249 (__internal_endnetgrent): ... this. Add internal_function to
3250 definition. Add libc_hidden_def.
3251 (endnetgrent): Update caller.
3252 (internal_getnetgrent_r): Renamed to ...
3253 (__internal_getnetgrent_r): ... this. Add internal_function to
3254 definition. Add libc_hidden_def.
3255 (__getnetgrent_r): Update caller.
3256 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
3257
c3c8283c
JM
32582012-08-16 Joseph Myers <joseph@codesourcery.com>
3259
3260 * stdlib/longlong.h: Update from GCC.
3261
db1ee0a8
RM
32622012-08-16 Roland McGrath <roland@hack.frob.com>
3263
3264 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
3265 on _QL, which is set by umul_ppmm but never used.
3266 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
3267 variables, which are set by GMP macros but never used.
3268 * stdio-common/_itowa.c (_itowa): Likewise.
3269 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
3270 * stdlib/mod_1.c (mpn_mod_1): Likewise.
3271
30f69637
CD
32722012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
3273
3274 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
3275 struct La_sh_regs is not constant.
3276 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
3277 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
3278 and struct La_sparc64_regs are not constant.
3279
93a78ac4
JM
32802012-08-16 Joseph Myers <joseph@codesourcery.com>
3281
3282 * sysdeps/unix/sysv/linux/kernel-features.h
3283 (__ASSUME_POSIX_TIMERS): Remove.
3284 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3285 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3286 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
3287 Make code unconditional.
3288 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3289 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
3290 Make code unconditional.
3291 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3292 * sysdeps/unix/sysv/linux/clock_nanosleep.c
3293 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
3294 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3295 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
3296 Make code unconditional.
3297 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3298 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
3299 (__libc_missing_posix_timers): Remove.
3300
dd924cd7
RM
33012012-08-15 Roland McGrath <roland@hack.frob.com>
3302
4b4f2771
RM
3303 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
3304 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
3305
601c888b
RM
3306 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
3307
176790a7
RM
3308 * elf/dl-sym.c: Include <stdlib.h>.
3309
329bc018
RM
3310 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
3311 constants, which avoids warnings in 32-bit builds.
3312
e04e272d
RM
3313 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
3314 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
3315
952bf94a
RM
3316 * misc/lseek.c: File moved to ...
3317 * io/lseek.c: ... here.
3318
7c99b50a
RM
3319 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
3320
dd924cd7
RM
3321 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
3322 shifting LEN more than 31 bits at once.
3323
b3f479a8
LD
33242012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3325
3326 [BZ #14195]
8c4ae0d4
RM
3327 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
3328 segmentation fault for a case of two empty input strings.
b3f479a8
LD
3329 * string/test-strncasecmp.c (check1): Renamed to...
3330 (bz12205): ...this.
3331 (bz14195): Add new testcase for two empty input strings and N > 0.
3332 (test_main): Call new testcase, adapt for renamed function.
3333
9c55864e
AJ
33342012-08-15 Andreas Jaeger <aj@suse.de>
3335
3336 [BZ #14090]
3337 * crypt/md5test2.c: New test, based on test supplied by Serge
3338 Belyshev <belyshev@depni.sinp.msu.ru>.
3339 * crypt/Makefile (xtests): Add md5test-giant..
3340 * crypt/Makefile ($(objpfx)md5test-giant): Add.
3341
02dcb6c5
PE
33422012-08-15 Paul Eggert <eggert@cs.ucla.edu>
3343
3344 [BZ #14090]
3345 * crypt/md5.c (md5_process_block): Don't assume the buffer
3346 length is less than 2**32.
3347 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
3348 length is less than 2**64.
3349
a3f95dcc
RM
33502012-08-15 Roland McGrath <roland@hack.frob.com>
3351
be75d758
RM
3352 * string/str-two-way.h: Include <sys/param.h>.
3353 (MAX): Macro removed.
3354
7312ca90
RM
3355 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
3356 Move #define and #undef of memmove to just before and after
3357 including <string.h>.
3358
9a0a5486
RM
3359 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
3360 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
3361 and after including <string.h>. Move declarations of
3362 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
3363 to before #include "string/memmove.c".
3364
67cc348d
RM
3365 * include/dirent.h: Declare __getdirentries.
3366
a3f95dcc
RM
3367 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
3368 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
3369
ca98e171
MF
33702012-08-14 Mike Frysinger <vapier@gentoo.org>
3371
3372 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
3373 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
3374 * sysdeps/i386/configure: Regenerated.
3375 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
3376 STABS_CURRENT_FILE, and STABS_FUN.
3377 (END): Remove call to STABS_FUN_END.
3378 (STABS_CURRENT_FILE1): Delete.
3379 (STABS_CURRENT_FILE): Likewise.
3380 (STABS_FUN): Likewise.
3381 (STABS_FUN_END): Likewise.
3382 (STABS_FUN2): Likewise.
3383 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
3384 * sysdeps/x86_64/configure: Regenerated.
3385
5908bf46
RM
33862012-08-14 Roland McGrath <roland@hack.frob.com>
3387
3388 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 3389 * elf/dl-lookup.c: Likewise.
5908bf46 3390
f2c05b9e
JM
33912012-08-14 Joseph Myers <joseph@codesourcery.com>
3392
3393 * sysdeps/unix/sysv/linux/kernel-features.h
3394 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
3395 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
3396 unconditionally.
3397 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
3398 unconditionally.
3399 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
3400 condition on __ASSUME_CLONE_THREAD_FLAGS.
3401
e11f5155
AJ
34022012-08-14 Andreas Jaeger <aj@suse.de>
3403
3404 * sysdeps/i386/fpu/libm-test-ulps: Update.
3405
51a9ba86
MK
34062012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
3407
2fdd4f78
AJ
3408 * include/atomic.h (atomic_exchange_and_add): Split into ...
3409 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
3410 New atomic macros.
51a9ba86 3411
ba6cba9e
MT
34122012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
3413
3414 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3415
42443a47
JL
34162012-08-13 Jeff Law <law@redhat.com>
3417
3418 * manual/stdio.texi (snprintf): Clarify handling of the trailing
3419 null byte in the output string.
3420
121dce05
JM
34212012-08-10 Joseph Myers <joseph@codesourcery.com>
3422
3423 * sysdeps/unix/sysv/linux/kernel-features.h
3424 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
3425 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
3426 (__ASSUME_ARG_MAX_STACK_BASED): Define.
3427 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3428 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
3429 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
3430 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
3431
bf51f568
JL
34322012-08-09 Jeff Law <law@redhat.com>
3433
3434 [BZ #13939]
3435 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
3436 When avoid_arena is set, don't retry in the that arena. Pick the
3437 next one, whatever it might be.
3438 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
3439 (arena_lock): Pass in new parameter to arena_get2.
3440 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
3441 arena_get2.
3442 (__libc_malloc): Unify retrying after main arena failure with
3443 __libc_memalign version.
3444 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
3445
f85fa270
L
34462012-08-09 H.J. Lu <hongjiu.lu@intel.com>
3447
3448 [BZ #14166]
3449 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
3450 to __redirect_strstr.
3451 (__strstr_sse42): Use typeof __redirect_strstr.
3452 (__strstr_ia32): Likewise.
3453 (__libc_strstr): New prototype.
3454 (strstr): Renamed to ...
3455 (__libc_strstr): This.
3456 (strstr): New strong alias of __libc_strstr.
3457 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3458 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
3459 __redirect_time.
3460 Include <time.h>.
3461 (__libc_time): New prototype.
3462 (time_ifunc): Replace time with __libc_time.
3463 (time): New strong alias and hidden definition of __libc_time.
3464 (__GI_time): Remove strong alias.
3465 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
3466 Include <stddef.h>.
3467 (memmove): Redefined to __redirect_memmove.
3468 (__memmove_sse2): Use typeof __redirect_memmove.
3469 (__memmove_ssse3): Likewise.
3470 (__memmove_ssse3_back): Likewise.
3471 (__libc_memmove): New prototype.
3472 (memmove): Renamed to ...
3473 (__libc_memmove): This.
3474 (memmove): New strong alias of __libc_memmove.
3475
33b4a91e
MS
34762012-08-08 Mark Salter <msalter@redhat.com>
3477
3478 * elf/elf.h
3479 (R_MN10300_TLS_GD): Define.
3480 (R_MN10300_TLS_LD): Likewise.
3481 (R_MN10300_TLS_LDO): Likewise.
3482 (R_MN10300_TLS_GOTIE): Likewise.
3483 (R_MN10300_TLS_IE): Likewise.
3484 (R_MN10300_TLS_LE): Likewise.
3485 (R_MN10300_TLS_DTPMOD): Likewise.
3486 (R_MN10300_TLS_DTPOFF): Likewise.
3487 (R_MN10300_TLS_TPOFF): Likewise.
3488 (R_MN10300_SYM_DIFF): Likewise.
3489 (R_MN10300_ALIGN): Likewise.
3490 (R_MN10300_NUM): Update.
3491
b36137f1
JM
34922012-08-08 Joseph Myers <joseph@codesourcery.com>
3493
3494 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
3495 Remove.
3496
cdd915fd
RM
34972012-08-08 Roland McGrath <roland@hack.frob.com>
3498
a2433aac
RM
3499 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
3500
cdd915fd
RM
3501 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
3502 sysdeps/unix -> sysdeps/posix move.
3503 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3504
bf9b740a
AM
35052012-08-07 Allan McRae <allan@archlinux.org>
3506
3507 [BZ #14303]
3508 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
3509 (SUNOS_CPP): Likewise.
3510 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
3511 not found.
3512 (open_input): Call CPP using execvp.
3513
93df14ee
JM
35142012-08-07 Joseph Myers <joseph@codesourcery.com>
3515
3516 * sysdeps/unix/sysv/linux/kernel-features.h
3517 (__ASSUME_PROT_GROWSUPDOWN): Remove.
3518 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3519 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3520 (__ASSUME_WAITID_SYSCALL): Likewise.
3521 * sysdeps/unix/sysv/linux/dl-execstack.c
3522 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
3523 code unconditional.
3524 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
3525 conditional code.
3526 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
3527 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
3528 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
3529 code.
3530 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
3531 unconditional.
3532 [__ASSUME_WAITID_SYSCALL]: Likewise.
3533 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
3534
d34689de
RM
35352012-08-07 Roland McGrath <roland@hack.frob.com>
3536
a281decc
RM
3537 * sysdeps/unix/closedir.c: Renamed to ...
3538 * sysdeps/posix/closedir.c: ... here.
3539 * sysdeps/unix/dirfd.c: Renamed to ...
3540 * sysdeps/posix/dirfd.c: ... here.
3541 * sysdeps/unix/dirstream.h: Renamed to ...
3542 * sysdeps/posix/dirstream.h: ... here.
3543 * sysdeps/unix/fdopendir.c: Renamed to ...
3544 * sysdeps/posix/fdopendir.c: ... here.
3545 * sysdeps/unix/opendir.c: Renamed to ...
3546 * sysdeps/posix/opendir.c: ... here.
3547 * sysdeps/unix/readdir.c: Renamed to ...
3548 * sysdeps/posix/readdir.c: ... here.
3549 * sysdeps/unix/readdir_r.c: Renamed to ...
3550 * sysdeps/posix/readdir_r.c: ... here.
3551 * sysdeps/unix/rewinddir.c: Renamed to ...
3552 * sysdeps/posix/rewinddir.c: ... here.
3553 * sysdeps/unix/seekdir.c: Renamed to ...
3554 * sysdeps/posix/seekdir.c: ... here.
3555 * sysdeps/unix/telldir.c: Renamed to ...
3556 * sysdeps/posix/telldir.c: ... here.
3557 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
3558 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
3559 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
3560 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
3561
22895b47
RM
3562 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
3563 * bits/fcntl.h: ... here.
3564
707a53b6
RM
3565 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
3566 not 0.
3567 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
3568 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
3569 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
3570 (struct flock): Move l_start, l_len to the beginning.
3571 Use __pid_t for l_pid.
3572 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
3573 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
3574 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
3575 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
3576 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
3577 [__USE_LARGEFILE64] (struct flock64): New type.
3578 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
3579
f0bd3e25
RM
3580 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
3581 * bits/dirent.h: ... here.
3582
d34689de
RM
3583 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
3584 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
3585
6dad2c06
JM
35862012-08-07 Joseph Myers <joseph@codesourcery.com>
3587
3588 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3589 Change from 2.6.0 to 2.6.16.
3590 * sysdeps/unix/sysv/linux/configure: Regenerated.
3591 * sysdeps/unix/sysv/linux/kernel-features.h
3592 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
3593 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
3594 version.
3595 (__ASSUME_UTIMES): Likewise.
3596 (__ASSUME_CLONE_STOPPED): Remove.
3597 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
3598 architectures, not kernel version.
3599 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
3600 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3601 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3602 (__ASSUME_WAITID_SYSCALL): Likewise.
3603 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
3604 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
3605 * README: State 2.6.16 as minimum Linux kernel version. Do not
3606 refer to older versions.
3607
03af9520
RM
36082012-08-06 Roland McGrath <roland@hack.frob.com>
3609
8e49df1d
RM
3610 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
3611 Define alphasort64 as an alias.
3612 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
3613 Define versionsort64 as an alias.
3614 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
3615 Define scandir64 as an alias.
3616 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
3617 Define scandirat64 as an alias.
3618 * dirent/alphasort64.c (alphasort64):
3619 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
3620 * dirent/versionsort64.c: Likewise.
3621 * dirent/scandir64.c: Likewise.
3622 * dirent/scandirat64.c: Likewise.
3623 * sysdeps/wordsize-64/alphasort.c: File removed.
3624 * sysdeps/wordsize-64/alphasort64.c: File removed.
3625 * sysdeps/wordsize-64/scandir.c: File removed.
3626 * sysdeps/wordsize-64/scandir64.c: File removed.
3627 * sysdeps/wordsize-64/scandirat.c: File removed.
3628 * sysdeps/wordsize-64/scandirat64.c: File removed.
3629 * sysdeps/wordsize-64/versionsort.c: File removed.
3630 * sysdeps/wordsize-64/versionsort64.c: File removed.
3631 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
3632 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
3633 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
3634 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
3635 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
3636 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
3637 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
3638 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
3639
3640 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
3641 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3642 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
3643 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3644 [defined __arch64__ || defined __sparcv9]
3645 (__INO_T_MATCHES_INO64_T): New macro.
3646 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3647 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
3648 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
3649 * sysdeps/unix/sysv/linux/bits/dirent.h
3650 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
3651 (_DIRENT_MATCHES_DIRENT64): New macro.
3652
03af9520
RM
3653 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
3654 Define lockf64 as an alias.
3655 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
3656 Define fseeko64 as an alias.
3657 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
3658 Define ftello64 as an alias.
3659 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
3660 Define _IO_fgetpos64 and fgetpos64 as aliases.
3661 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
3662 Define _IO_fsetpos64 and fsetpos64 as aliases.
3663 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
3664 Conditionalize body on this.
3665 * libio/fseeko64.c: Likewise.
3666 * libio/ftello64.c: Likewise.
3667 * libio/iofgetpos64.c: Likewise.
3668 * libio/iofsetpos64.c: Likewise.
3669 * sysdeps/wordsize-64/lockf.c: File removed.
3670 * sysdeps/wordsize-64/lockf64.c: File removed.
3671 * sysdeps/wordsize-64/fseeko.c: File removed.
3672 * sysdeps/wordsize-64/fseeko64.c: File removed.
3673 * sysdeps/wordsize-64/ftello.c: File removed.
3674 * sysdeps/wordsize-64/ftello64.c: File removed.
3675 * sysdeps/wordsize-64/iofgetpos.c: File removed.
3676 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3677 * sysdeps/wordsize-64/iofsetpos.c: File removed.
3678 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3679 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3680 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3681 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3682 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3683 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3684 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3685 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3686 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3687 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3688 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3689
3690 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3691 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3692 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3693 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3694 [defined __arch64__ || defined __sparcv9]
3695 (__OFF_T_MATCHES_OFF64_T): New macro.
3696 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3697 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3698 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3699 (__OFF_T_MATCHES_OFF64_T): New macro.
3700
c5757acd
L
37012012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3702
3703 * stdlib/secure-getenv.c (__secure_getenv): Replace
3704 GLIBC_2_16 with GLIBC_2_17.
3705
3a31811e
L
37062012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3707
3708 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3709 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3710
faa2bccb
DM
37112012-08-03 David S. Miller <davem@davemloft.net>
3712
3713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3714
85fe1997
JM
37152012-08-03 Joseph Myers <joseph@codesourcery.com>
3716
3717 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3718 Remove.
3719 (__ASSUME_CORRECT_SI_PID): Likewise.
3720 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3721 (__ASSUME_TMPFS_NAME): Likewise.
3722 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3723 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3724 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3725 (HAVE_AUX_SECURE): Make definition unconditional.
3726 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3727 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3728
4f75b7a0
RM
37292012-08-03 Roland McGrath <roland@hack.frob.com>
3730
3731 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3732 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3733 * sysdeps/mach/hurd/eloop-threshold.h: New file.
3734 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3735 __eloop_threshold instead of SYMLOOP_MAX.
3736
3737 * sysdeps/generic/eloop-threshold.h: New file.
3738 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3739 of MAXSYMLINKS.
3740 * elf/chroot_canon.c (chroot_canon): Likewise.
3741
7aab07e4
JM
37422012-08-03 Joseph Myers <joseph@codesourcery.com>
3743
3744 [BZ #13717]
3745 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3746 Change to 2.6.0 everywhere.
3747 * sysdeps/unix/sysv/linux/configure: Regenerated.
3748 * sysdeps/unix/sysv/linux/kernel-features.h
3749 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3750 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3751 kernel versions.
3752 (__ASSUME_POSIX_TIMERS): Define unconditionally.
3753 (__ASSUME_FUTEX_REQUEUE): Remove.
3754 (__ASSUME_STATFS64): Define unconditionally.
3755 (__ASSUME_AT_SECURE): Likewise.
3756 (__ASSUME_CORRECT_SI_PID): Likewise.
3757 (__ASSUME_TGKILL): Define without depending on kernel version for
3758 i386.
3759 (__ASSUME_UTIMES): Likewise.
3760 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3761 kernel version.
3762 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3763 (__ASSUME_TMPFS_NAME): Likewise.
3764 * README: Update reference to Linux kernel versions.
3765
b67e9372
MP
37662012-08-02 Marek Polacek <polacek@redhat.com>
3767
1f529f7d 3768 [BZ# 14150]
b67e9372
MP
3769 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
3770 libc_cv_asm_type_prefix with %.
3771 * configure: Regenerated.
d2441631
RM
3772 * include/libc-symbols.h: Remove comment about
3773 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
3774 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3775 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3776 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3777 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3778 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3779 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3780 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3781 * elf/tst-unique2mod1.c: Likewise.
3782 * elf/tst-unique1mod2.c: Likewise.
3783 * elf/tst-unique1mod1.c: Likewise.
3784 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3785 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3786 Replace ASM_TYPE_DIRECTIVE with .type.
3787 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3788 * sysdeps/i386/sysdep.h: Likewise.
3789 * sysdeps/x86_64/sysdep.h: Likewise.
3790 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
3791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3792 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 3793 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
3794 * sysdeps/powerpc/powerpc32/sysdep.h:
3795 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
3796 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3797 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3798 * sysdeps/i386/fpu/e_powf.S: Likewise.
3799 * sysdeps/i386/fpu/e_expl.S: Likewise.
3800 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3801 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3802 * sysdeps/i386/fpu/e_pow.S: Likewise.
3803 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3804 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3805 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3806 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3807 * sysdeps/i386/fpu/e_log2.S: Likewise.
3808 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3809 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3810 * sysdeps/i386/fpu/e_powl.S: Likewise.
3811 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3812 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3813 * sysdeps/i386/fpu/e_logl.S: Likewise.
3814 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3815 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3816 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3817 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3818 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3819 * sysdeps/i386/fpu/e_log.S: Likewise.
3820 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3821 * sysdeps/i386/fpu/e_logf.S: Likewise.
3822 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3823 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3824 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3825 * sysdeps/i386/fpu/e_log10.S: Likewise.
3826 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3827 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3828 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3829 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3830 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3831 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3832 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3833 * sysdeps/i386/i686/strtok.S: Likewise.
3834 * sysdeps/i386/i386-mcount.S: Likewise.
3835 * sysdeps/i386/strtok.S: Likewise.
3836 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3837 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3838 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3839 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3840 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3841 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3842 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3843 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3844 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3845 * sysdeps/x86_64/_mcount.S: Likewise.
3846 * sysdeps/x86_64/strtok.S: Likewise.
3847 * sysdeps/sh/_mcount.S: Likewise.
3848
2747bf9a
RM
38492012-08-01 Roland McGrath <roland@hack.frob.com>
3850
3851 * libio/iofopen.c: Include <fcntl.h>.
3852 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3853 (_IO_fopen64, fopen64): Define as aliases.
3854 * libio/iofopen64.c: Include <fcntl.h>.
3855 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3856 Conditionalize body on this.
3857 * sysdeps/wordsize-64/iofopen.c: File removed.
3858 * sysdeps/wordsize-64/iofopen64.c: File removed.
3859
3fb791b8
MP
38602012-08-01 Marek Polacek <polacek@redhat.com>
3861
3862 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3863 Use dlfcn directly instead of a variable.
3864 (binfmt-subdir): Do not define.
3865 (dlfcn): Likewise.
3866
a9f1039f
JM
38672012-08-01 Joseph Myers <joseph@codesourcery.com>
3868
23bddc06
JM
3869 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3870 Remove all definitions.
3871 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3872 <kernel-features.h>.
3873 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3874 (miss_F_GETOWN_EX): Remove all definitions.
3875 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3876 macro definition.
3877 [!__ASSUME_FCNTL64]: Remove conditional code.
3878 [__ASSUME_FCNTL64]: Make code unconditional.
3879 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3880 <kernel-features.h>.
3881 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3882 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3883 (lockf64) [__NR_fcntl64]: Make code unconditional.
3884 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3885
a9f1039f
JM
3886 * sysdeps/unix/sysv/linux/kernel-features.h
3887 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3888 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3889 Make code unconditional.
3890 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3891 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3893 [__NR_vfork]: Make code unconditional.
3894 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3895 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3897 [__NR_vfork]: Make code unconditional.
3898 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3899 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3900
09c0ee5f
RM
39012012-08-01 Roland McGrath <roland@hack.frob.com>
3902
48aec5b9
RM
3903 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3904 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3905
cd97c966
RM
3906 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3907 Define mkstemp64 as an alias.
3f55550c
RM
3908 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3909 Define mkstemps64 as an alias.
cd97c966
RM
3910 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3911 Define mkostemp64 as an alias.
b8625cfc
RM
3912 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3913 Define mkostemps64 as an alias.
cd97c966
RM
3914 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3915 Conditionalize body on this.
3916 * misc/mkostemp64.c: Likewise.
b8625cfc 3917 * misc/mkostemps64.c: Likewise.
3f55550c 3918 * misc/mkstemps64.c: Likewise.
cd97c966
RM
3919 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3920 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3921 * sysdeps/wordsize-64/mkostemp.c: File removed.
3922 * sysdeps/wordsize-64/mkstemp.c: File removed.
3923 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3924 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3925 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3926 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3927
09c0ee5f
RM
3928 [BZ #14138]
3929 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3930 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3931 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3932 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3933
3934 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3935 compat_symbol macros from <shlib-compat.h> rather than the underlying
3936 default_symbol_version and symbol_version macros, so that DEFAULT
3937 lines in shlib-versions are respected.
3938 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3939
7e66ee51
FW
39402012-08-01 Florian Weimer <fweimer@redhat.com>
3941
3942 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3943 Declare with warn_unused_result.
3944 (setgid, setregid, setegid, setresgid): Likewise.
3945 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3946 Likewise.
3947 * WUR-REPORT: Remove set*id functions.
3948
d2a54255
PT
39492012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3950
3951 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3952
7ecdb005
RM
39532012-07-31 Roland McGrath <roland@hack.frob.com>
3954
789bd351
RM
3955 * include/sys/socket.h (__libc_accept, __libc_accept4):
3956 Add attribute_hidden.
3957 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3958
40ce302d
RM
3959 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3960 use of PTR_MANGLE.
3961 * inet/getnetgrent_r.c (setup): Likewise.
3962
7ecdb005
RM
3963 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3964
e2eabb2c
DM
39652012-07-31 David S. Miller <davem@davemloft.net>
3966
3967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3968
d0419dbf
JM
39692012-07-31 Joseph Myers <joseph@codesourcery.com>
3970
3971 [BZ #13629]
3972 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3973 value between 1.0 and 2.0 and smaller part has absolute value less
3974 than 1.0.
3975 * math/s_clog10.c (__clog10): Likewise.
3976 * math/s_clog10f.c (__clog10f): Likewise.
3977 * math/s_clog10l.c (__clog10l): Likewise.
3978 * math/s_clogf.c (__clogf): Likewise.
3979 * math/s_clogl.c (__clogl): Likewise.
3980 * math/libm-test.inc (clog_test): Add more tests.
3981 (clog10_test): Likewise.
3982 * sysdeps/i386/fpu/libm-test-ulps: Update.
3983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3984
2bc13872
FW
39852012-07-31 Florian Weimer <fweimer@redhat.com>
3986
3987 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3988 Exit with zero in case no suitable GID is found, and write a
3989 message to standard error.
3990
bea9b193
RM
39912012-07-30 Roland McGrath <roland@hack.frob.com>
3992
3993 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3994 rather than to 1.
3995 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3996 (MAXPATHLEN): Removed.
3997 (NOGROUP, NODEV): New macros.
3998 (setbit, clrbit, isset, isclr): New macros.
3999 (howmany, roundup, powerof2): New macros.
4000 (DEV_BSIZE): New macro.
4001
4002 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4003 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4004
4005 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4006 definition on [!__NO_LONG_DOUBLE_MATH].
4007
4008 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4009 PTR_MANGLE and PTR_DEMANGLE.
4010
4011 * socket/accept4.c (accept4): Rename to __libc_accept4.
4012 Define accept4 as a weak alias.
4013
4014 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4015 on [_DIRENT_HAVE_D_TYPE].
4016 * io/ftw.c (ftw_dir): Likewise.
4017
4018 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4019
4020 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4021
4022 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4023 Use the BSD numbers rather than the arbitrary ones we had.
4024 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4025 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4026 (SIGXCPU, SIGXFSZ): New macros.
4027 (_NSIG): Now 32.
4028
4029 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4030 initializer on [_LIBC_REENTRANT].
4031
4032 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4033 definitions inside [_POSIX_MAPPED_FILES].
4034
4035 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4036
4037 * dirent/opendir.c: Include <fcntl.h>.
4038
4039 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4040 (__libc_getspecific): Likewise.
4041 (__libc_key_create): Likewise.
4042
4043 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4044 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4045 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4046 (tmpfile64): Define as alias.
4047 * sysdeps/wordsize-64/tmpfile.c: File removed.
4048 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4049 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4050 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4051
4052 * stdio-common/vfscanf.c: Include <stdbool.h>.
4053 * nss/makedb.c: Likewise.
4054 * stdio-common/_i18n_number.h: Likewise.
4055 * argp/argp-help.c: Likewise.
4056 * posix/wordexp.c: Likewise.
4057 * sysdeps/posix/spawni.c: Likewise.
4058 * nss/nss_files/files-initgroups.c: Likewise.
4059 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4060 * nss/nss_files/files-initgroups.c: Likewise.
4061 * nss/nss_db/db-netgrp.c: Likewise.
4062 * nss/nss_db/db-initgroups.c: Likewise.
4063 * io/fchmodat.c: Include <sys/stat.h>.
4064
4065 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4066 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4067
4068 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4069 [HAVE_MMAP].
4070
4071 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4072 Add multiple inclusion protection.
4073
e5abc686
DM
40742012-07-27 David S. Miller <davem@davemloft.net>
4075
4076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4077
815e6fa3
GB
40782012-07-27 Gary Benson <gbenson@redhat.com>
4079
4080 [BZ #14298]
4081 * elf/rtld.c: Include <stap-probe.h>.
4082 (dl_main): Added static probes "init_start" and "init_complete".
4083 * elf/dl-load.c: Include <stap-probe.h>.
4084 (lose): Take new parameter "nsid".
4085 Added static probe "map_failed".
4086 (_dl_map_object_from_fd): Pass namespace id to lose.
4087 Added static probe "map_start".
4088 (open_verify): Pass namespace id to lose.
4089 * elf/dl-open.c: Include <stap-probe.h>.
4090 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4091 and "reloc_complete".
4092 * elf/dl-close.c: Include <stap-probe.h>.
4093 (_dl_close_worker): Added static probes "unmap_start" and
4094 "unmap_complete".
4095 * elf/rtld-debugger-interface.txt: New file documenting the above.
4096
9f98c16c
RM
40972012-07-26 Roland McGrath <roland@hack.frob.com>
4098
4099 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4100 rather than a string variable.
4101 * sunrpc/rpc_main.c (h_output): Likewise.
4102 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4103
f3c22df3
PT
41042012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4105
4106 * inet/check_native.c: New file.
4107
3129cfc6
JM
41082012-07-26 Joseph Myers <joseph@codesourcery.com>
4109
da865e95
JM
4110 [BZ #13629]
4111 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4112 if larger part has absolute value 1.0.
4113 * math/s_clog10.c (__clog10): Likewise.
4114 * math/s_clog10f.c (__clog10f): Likewise.
4115 * math/s_clog10l.c (__clog10l): Likewise.
4116 * math/s_clogf.c (__clogf): Likewise.
4117 * math/s_clogl.c (__clogl): Likewise.
4118 * math/libm-test.inc (clog_test): Add more tests.
4119 (clog10_test): Likewise.
4120 * sysdeps/i386/fpu/libm-test-ulps: Update.
4121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4122
3129cfc6
JM
4123 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4124 (pltexit): Likewise.
4125 (La_regs): Likewise.
4126 (La_retval): Likewise.
4127 (int_retval): Likewise.
4128 Update #error for removed macros to refer only to definitions in
4129 tst-audit.h.
4130 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4131 macro.
4132 (pltexit): Likewise.
4133 (La_regs): Likewise.
4134 (La_retval): Likewise.
4135 (int_retval): Likewise.
4136 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4137 macro.
4138 (pltexit): Likewise.
4139 (La_regs): Likewise.
4140 (La_retval): Likewise.
4141 (int_retval): Likewise.
4142 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4143 macro.
4144 (pltexit): Likewise.
4145 (La_regs): Likewise.
4146 (La_retval): Likewise.
4147 (int_retval): Likewise.
4148 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4149 macro.
4150 (pltexit): Likewise.
4151 (La_regs): Likewise.
4152 (La_retval): Likewise.
4153 (int_retval): Likewise.
4154 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4155 macro.
4156 (pltexit): Likewise.
4157 (La_regs): Likewise.
4158 (La_retval): Likewise.
4159 (int_retval): Likewise.
4160 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4161 macro.
4162 (pltexit): Likewise.
4163 (La_regs): Likewise.
4164 (La_retval): Likewise.
4165 (int_retval): Likewise.
4166 * sysdeps/generic/tst-audit.h: Update comment to refer only to
4167 macro definitions in tst-audit.h.
4168 * sysdeps/i386/tst-audit.h: New file.
4169 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4170 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4171 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4172 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4173 * sysdeps/sh/tst-audit.h: Likewise.
4174 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4175 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4176 * sysdeps/x86_64/tst-audit.h: Likewise.
4177
bfc07087
AJ
41782012-07-26 Andreas Jaeger <aj@suse.de>
4179
b1b2aaf8
AJ
4180 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4181 ptrace.
4182
4183 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4184 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4185 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4186 PTRACE_O_MASK.
4187 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4188 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4189 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4190
bfc07087
AJ
4191 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4192 value.
4193
4194 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4195 _sigsys.
4196 (si_call_addr, si_syscall, si_arch): Define new macro.
4197 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4198 _sigsys.
4199 (si_call_addr, si_syscall, si_arch): Define new marcro.
4200 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4201 _sigsys.
4202 (si_call_addr, si_syscall, si_arch): Define new macro.
4203 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4204 _sigsys.
4205 (si_call_addr, si_syscall, si_arch): Define new macro.
4206
89b4b02f
JM
42072012-07-25 Joseph Myers <joseph@codesourcery.com>
4208
4209 [BZ #13717]
4210 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4211 Change to 2.4.21 where previously 2.4.1.
4212 * sysdeps/unix/sysv/linux/configure: Regenerated.
4213 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
4214 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
4215 Linux kernel version.
4216 (__ASSUME_STD_AUXV): Remove.
4217 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
4218 kernel version.
4219 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
4220 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
4221 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
4222 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
4223 (__ASSUME_NETLINK_SUPPORT): Likewise.
4224 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
4225 (__no_netlink_support): Remove conditional definition.
4226 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
4227 Remove.
4228 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4229 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
4230 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
4231 (if_nameindex_ioctl): Remove.
4232 (if_nameindex_netlink): Do not handle __no_netlink_support.
4233 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4234 code.
4235 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
4236 Remove conditional code.
4237 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4238 code.
4239 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
4240 unconditional.
4241 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4242 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
4243 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
4244 Remove.
4245 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4246 [!__ASSUME_STD_AUXV]: Remove conditional code.
4247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
4248 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
4249 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
4250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
4251 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
4252 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4253 code.
4254 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4256 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
4257 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4258 conditional code.
4259 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4261 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4262 code.
4263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4264 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4265 conditional code.
4266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
4267 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4268 code unconditional.
4269 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4270 conditional code.
4271 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4272 unconditional.
4273 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4274 conditional code.
4275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4276 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4277 unconditional.
4278 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4279 conditional code.
4280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4281 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4282 code unconditional.
4283 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4284 conditional code.
4285 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4286 unconditional.
4287 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4288 conditional code.
4289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4290 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4291 code unconditional.
4292 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4293 conditional code.
4294 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4295 unconditional.
4296 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4297 conditional code.
4298
842a39cd
AS
42992012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4300
4301 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
4302 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
4303 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4304 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
4305 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
4306 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4307 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4308 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4309 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
4310 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4311 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
4312 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4313 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
4314 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4315 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
4316 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
4317 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
4318 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
4319 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
4320 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
4321 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
4322 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
4323 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4324
84b3fd84
FW
43252012-07-25 Florian Weimer <fweimer@redhat.com>
4326
4327 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
4328 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
4329 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
4330 Introduce __libc_secure_getenv.
0c7936d5
FW
4331 * stdlib/Versions (2.17): Add secure_getenv
4332 (GLIBC_PRIVATE): Add __libc_secure_getenv.
4333 * stdlib/secure-getenv.c: Rename __secure_getenv to
4334 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
4335 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
4336 * stdlib/tst-secure-getenv.c: New.
4337 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
4338 * manual/startup.texi (Environment Access): Document
4339 secure_getenv.
84b3fd84
FW
4340 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
4341 __libc_secure_getenv.
4342 * inet/ruserpass.c (ruserpass): Likewise.
4343 * malloc/mtrace.c (mtrace): Likewise.
4344 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 4345 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
4346 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
4347 * sysdeps/posix/tempname.c: Likewise. Evaluate
4348 HAVE_SECURE_GETENV.
4349 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 4350 __secure_getenv to __libc_secure_getenv.
84b3fd84 4351 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
4352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4353 Likewise.
4354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4355 Likewise.
4356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4358 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 4363
56e49b71
JM
43642012-07-25 Joseph Myers <joseph@codesourcery.com>
4365
4366 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
4367 (struct La_i86_retval): Likewise.
4368 (struct La_x86_64_regs): Likewise.
4369 (struct La_x86_64_retval): Likewise.
4370 (struct La_x32_regs): Likewise.
4371 (struct La_x32_retval): Likewise.
4372 (struct La_ppc32_regs): Likewise.
4373 (struct La_ppc32_retval): Likewise.
4374 (struct La_ppc64_regs): Likewise.
4375 (struct La_ppc64_retval): Likewise.
4376 (struct La_sh_regs): Likewise.
4377 (struct La_sh_retval): Likewise.
4378 (struct La_s390_32_regs): Likewise.
4379 (struct La_s390_32_retval): Likewise.
4380 (struct La_s390_64_regs): Likewise.
4381 (struct La_s390_64_retval): Likewise.
4382 (struct La_sparc32_regs): Likewise.
4383 (struct La_sparc32_retval): Likewise.
4384 (struct La_sparc64_regs): Likewise.
4385 (struct La_sparc64_retval): Likewise.
4386 (struct audit_ifaces): Remove architecture-specific pltenter and
4387 pltexit members.
4388 * sysdeps/i386/ldsodefs.h: New file.
4389 * sysdeps/powerpc/ldsodefs.h: Likewise.
4390 * sysdeps/s390/ldsodefs.h: Likewise.
4391 * sysdeps/sh/ldsodefs.h: Likewise.
4392 * sysdeps/sparc/ldsodefs.h: Likewise.
4393 * sysdeps/x86_64/ldsodefs.h: Likewise.
4394
354691b7
MP
43952012-07-25 Marek Polacek <polacek@redhat.com>
4396
4397 [BZ #6808]
4398 * math/libm-test.inc (yn_test): Add another test.
4399 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
4400 to ERANGE when the result is +-Inf.
4401 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4402 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
4403 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
4404 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
4405
bf9e2071
JM
44062012-07-24 Joseph Myers <joseph@codesourcery.com>
4407
4408 * conform/data/time.h-data (NULL): Use macro-constant. Require
4409 equal to 0.
4410 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
4411 clock_t.
4412 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
4413
57633811
TS
44142012-07-23 Thomas Schwinge <thomas@codesourcery.com>
4415
4416 * configure.in <sysdeps resolving>: Correct printing
4417 Implies_before.
4418 * configure: Regenerate.
4419
c23c33b0
TS
44202012-07-22 Thomas Schwinge <thomas@codesourcery.com>
4421
4422 * math/w_ilogb.c: Include <limits.h>.
4423 * math/w_ilogbl.c: Likewise.
4424
b5982523
JM
44252012-07-20 Joseph Myers <joseph@codesourcery.com>
4426
4427 * manual/lang.texi (__va_copy): Document primarily as ISO C99
4428 va_copy. Document allowing for unavailable va_copy only as
4429 pre-C99 compatibility.
4430 * manual/string.texi (Copying and Concatenation): Use va_copy
4431 instead of __va_copy in concat example.
4432
ac4ea442
PT
44332012-07-20 Pino Toscano <toscano.pino@tiscali.it>
4434
4435 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
4436 (__sendto): Use create_address_port. Initialize APORT and deallocate
4437 it if not null.
4438
f98eafbd
PT
4439 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
4440 with O_NOLINK passed to __file_name_lookup.
4441
898c7aab
PT
4442 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
4443 with O_NOLINK passed to __file_name_lookup.
4444
0ced335a
PT
4445 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
4446 negative N or less than NGIDS.
4447
b3404dbd
PT
4448 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
4449 type to string_t. Set ERANGE as errno and return it if NAME is not big
4450 enough. Use memcpy instead of strncpy.
4451
0f48659e
JM
44522012-07-20 Joseph Myers <joseph@codesourcery.com>
4453
4454 * elf/Makefile (check-data): Remove.
4455 (localplt.data): New vpath directive.
4456 ($(objpfx)check-localplt.out): Use localplt.data from vpath
4457 instead of $(check-data).
4458 * scripts/data/localplt-generic.data: Move to ...
4459 * sysdeps/generic/localplt.data: ... here.
4460 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
4461 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
4462 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
4463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4464 ... here.
4465 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
4466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4467 ... here.
4468 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
4469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
4470 ... here.
4471 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
4472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4473 ... here.
4474 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
4475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
4476 ... here.
4477 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
4478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
4479 ... here.
4480
d37cbdaa
AZ
44812012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4482
4483 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
4484 PPC32 and PPC64 files.
4485 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
4486 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
4487
46f85fc2
AK
44882012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4489
4490 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
4491 __makecontext_ret to ...
4492 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4493 ... here and call exit if uc_link is NULL. New file.
4494 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
4495 __makecontext_ret.S.
4496 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
4497 __makecontext_ret to ...
4498 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4499 ... here and call exit if uc_link is NULL. New file.
4500 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
4501 __makecontext_ret.S.
4502
08f43f9b
AK
45032012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4504
4505 * elf/elf.h (R_390_IRELATIVE): New definition.
4506 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
4507 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
4508 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
4509 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4510 (elf_machine_lazy_rel): Likewise.
4511 * sysdeps/s390/dl-irel.h: New file.
4512 * sysdeps/s390/s390-64/memcpy.S: New asm code.
4513 * sysdeps/s390/s390-64/memset.S: New asm code.
4514 * sysdeps/s390/s390-64/memcmp.S: New asm code.
4515 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
4516 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
4517 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
4518 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
4519 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
4520 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
4521 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
4522 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
4523 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
4524 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
4525 * sysdeps/s390/s390-32/memcpy.S: New asm code.
4526 * sysdeps/s390/s390-32/memset.S: New asm code.
4527 * sysdeps/s390/s390-32/memcmp.S: New asm code.
4528
3b05db33
MP
45292012-07-17 Marek Polacek <polacek@redhat.com>
4530
4531 [BZ #14349]
4532 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
4533 * sysdeps/s390/s390-64/configure.in: Likewise.
4534 * sysdeps/sparc/configure.in: Likewise.
4535 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
4536 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
4537 * sysdeps/i386/configure.in: Likewise.
4538 * sysdeps/x86_64/configure.in: Likewise.
4539 * sysdeps/sh/configure.in: Likewise.
4540 * sysdeps/s390/s390-32/configure: Regenerated.
4541 * sysdeps/s390/s390-64/configure: Likewise.
4542 * sysdeps/x86_64/configure: Likewise.
4543 * sysdeps/sh/configure: Likewise.
4544 * sysdeps/powerpc/powerpc64/configure: Likewise.
4545 * sysdeps/powerpc/powerpc32/configure: Likewise.
4546 * sysdeps/sparc/configure: Likwise.
4547 * sysdeps/i386/configure: Likewise.
4548
a66877c6
MP
4549 * elf/dl-open.c: Comment fixes.
4550
cfc82fd8
JM
45512012-07-17 Joseph Myers <joseph@codesourcery.com>
4552
bd29910a
JM
4553 * Makefile [CXX] (check-data): Remove.
4554 [CXX] (c++-types.data): New vpath directive.
4555 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
4556 vpath. Do not allow for C++ type data being missing.
4557 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
4558 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
4559 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
4560 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
4561 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
4562 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
4563 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
4564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4565 ... here.
4566 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
4567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4568 ... here.
4569 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
4570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
4571 ... here.
4572 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
4573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
4574 ... here.
4575 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
4576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
4577 ... here.
4578 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
4579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
4580 ... here.
4581 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
4582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
4583 ... here.
4584 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
4585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
4586
cfc82fd8
JM
4587 * elf/tls-macros.h (TLS_LE): Move architecture-specific
4588 definitions to architecture-specific files.
4589 (TLS_IE): Likewise.
4590 (TLS_LD): Likewise.
4591 (TLS_GD): Likewise.
4592 * sysdeps/i386/tls-macros.h: New file.
4593 * sysdeps/powerpc/tls-macros.h: Likewise.
4594 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4595 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4596 * sysdeps/sh/tls-macros.h: Likewise.
4597 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
4598 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
4599 * sysdeps/x86_64/tls-macros.h: Likewise.
4600
f7db3170
TS
46012012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4602
07cbfc23
TS
4603 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
4604 zero value for regular exit case.
4605
f7db3170
TS
4606 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4607 (__start_context): Preserve zero value for regular exit case.
4608
dc97c227
TS
46092012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4610 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4611
4612 * manual/setjmp.texi (setcontext): Clarify normal process
4613 termination when uc_link is the null pointer.
4614 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
4615 exit call.
4616
d0cd7d02
AS
46172012-07-16 Andreas Schwab <schwab@linux-m68k.org>
4618
4619 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
4620 preprocessor. Test for each exception mask separately.
4621
dd318934
AJ
46222012-07-16 Andreas Jaeger <aj@suse.de>
4623
4624 * po/ru.po: Update from translation team.
4625
8048311a
JM
46262012-07-15 Joseph Myers <joseph@codesourcery.com>
4627
4628 * conform/data/string.h-data (NULL): Use macro-constant. Require
4629 equal to 0.
4630 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4631 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4632 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
4633 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
4634 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4635
b637d46e
AJ
46362012-07-13 Andreas Jaeger <aj@suse.de>
4637
4638 * po/fr.po: Update from translation team.
4639
541428fe
MP
46402012-07-12 Marek Polacek <polacek@redhat.com>
4641
4642 [BZ #14173]
4643 * math/libm-test.inc (yn_test): Add test for BZ #14173.
4644 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
4645 loop condition.
4646
ec332e94
JM
46472012-07-12 Joseph Myers <joseph@codesourcery.com>
4648
4649 [BZ #13717]
4650 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4651 Change to 2.4.1 where previously 2.4.0.
4652 * sysdeps/unix/sysv/linux/configure: Regenerated.
4653 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
4654 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
4655 version.
4656 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
4657 (__ASSUME_AT_CLKTCK): Remove.
4658 (__ASSUME_AT_PAGESIZE): Likewise.
4659 (__ASSUME_AT_XID): Likewise.
4660 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
4661 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
4662 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
4663 unconditionally.
4664 (HAVE_AUX_PAGESIZE): Likewise.
4665 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
4666 [__ASSUME_AT_CLKTCK]: Make code unconditional.
4667 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
4668
7b6e99be
JB
46692012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
4670
4671 [BZ #14307]
4672 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4673 the temporary buffer used to invoke __gethostbyname2_r,
4674 __gethostbyaddr_r and gethostbyname4_r to make room for struct
4675 host_data / struct gaih_addrtuple.
4676 * resolv/nss_dns/dns-host.c (global scope): Move definition of
4677 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4678 header file nss/nsswitch.h.
4679 * nss/nsswitch.h (global scope): Add definition of implementation
4680 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4681 resolv/nss_dns/dns-host.c).
4682
608404eb
AJ
46832012-07-11 Andreas Jaeger <aj@suse.de>
4684
4685 * po/fr.po: Update from translation team.
4686
71220aca
AJ
4687 * po/sv.po: Update from translation team
4688 * po/fr.po: Another update from translation team.
4689
28cfe843
AZ
46902012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4691
4692 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4693 for subnormals or multiply small sinh result by itself.
4694 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4696
6b90f981
DM
46972012-07-11 David S. Miller <davem@davemloft.net>
4698
4699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4700
c6825772
AS
47012012-07-10 Andreas Schwab <schwab@linux-m68k.org>
4702
4703 [BZ #14347]
4704 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4705 (INTERNAL_MARK): Shift it here.
4706
7b8e0d49
MP
47072012-07-10 Marek Polacek <polacek@redhat.com>
4708
4709 [BZ #14151]
4710 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
4711 libc_cv_asm_global_directive with .globl.
4712 * configure: Regenerated.
4713 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4714 with .globl.
4715 * sysdeps/i386/configure: Regenerated.
4716 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4717 with .globl.
4718 * sysdeps/x86_64/configure: Regenerated.
4719 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4720 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4721 * elf/tst-unique2mod2.c: Likewise.
4722 * elf/tst-unique2mod1.c: Likewise.
4723 * elf/tst-unique1mod2.c: Likewise.
4724 * elf/tst-unique1mod1.c: Likewise.
4725 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4726 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4727 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4728 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4729 * sysdeps/mach/sysdep.h: Likewise.
4730 * sysdeps/i386/sysdep.h: Likewise.
4731 * sysdeps/i386/i386-mcount.S: Likewise.
4732 * sysdeps/x86_64/_mcount.S: Likewise.
4733 * sysdeps/x86_64/sysdep.h: Likewise.
4734 * sysdeps/sh/_mcount.S: Likewise.
4735 * sysdeps/sh/sysdep.h: Likewise.
4736 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4737 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4738 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4739 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4740 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4741 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4742 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4743 * locale/localeinfo.h: Likewise.
4744 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4745 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4746
6c55cda3
RM
47472012-07-09 Roland McGrath <roland@hack.frob.com>
4748
4749 [BZ #14336]
4750 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4751 system".
4752 * manual/message.texi (The Uniforum approach): Likewise.
4753 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4754 (glibc iconv Implementation): Likewise.
4755
638a572e
JM
47562012-07-09 Joseph Myers <joseph@codesourcery.com>
4757
4758 [BZ #14337]
4759 * math/s_clog.c (__clog): Avoid scaling a value down where that
4760 could result in underflow.
4761 * math/s_clog10.c (__clog10): Likewise.
4762 * math/s_clog10f.c (__clog10f): Likewise.
4763 * math/s_clog10l.c (__clog10l): Likewise.
4764 * math/s_clogf.c (__clogf): Likewise.
4765 * math/s_clogl.c (__clogl): Likewise.
4766 * math/libm-test.inc (clog_test): Add more tests.
4767 (clog10_test): Likewise.
4768 * sysdeps/i386/fpu/libm-test-ulps: Update.
4769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4770
261f4859
AS
47712012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4772
0abaf3e4
AS
4773 [BZ #14283]
4774 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4775 by 7 not 8 to examine high bit of fractional part.
4776
261f4859
AS
4777 [BZ #14042]
4778 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4779 for call to __mcount_internal.
4780 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4781 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4782 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4783
f17ac40d
JM
47842012-07-06 Joseph Myers <joseph@codesourcery.com>
4785
9ad63c23
JM
4786 [BZ #14154]
4787 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4788 approximation for values within 0x1p-13f of an odd multiple of
4789 pi/4.
4790 * math/libm-test.inc (tan_test): Do not allow spurious underflow
4791 exception. Add more tests.
4792 * sysdeps/i386/fpu/libm-test-ulps: Update.
4793
f17ac40d
JM
4794 [BZ #6778]
4795 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4796 inputs and return -1 for them. Do not check for +Inf in case not
4797 reachable for +Inf.
4798 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4799 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4800 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4801 and return -1 for them. Do not check for +Inf in case not
4802 reachable for +Inf.
4803 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4804 define.
4805 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4806 and return -1 for them. Do not check for +Inf in case not
4807 reachable for +Inf.
4808 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4809 spurious underflow.
4810 * sysdeps/i386/fpu/libm-test-ulps: Update.
4811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4812
fb21f89b
MF
48132012-07-06 Mike Frysinger <vapier@gentoo.org>
4814
4815 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4816
cdfe2c5e
JM
48172012-07-05 Joseph Myers <joseph@codesourcery.com>
4818
4819 [BZ #14157]
4820 [BZ #14331]
4821 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4822 could result in spurious underflow. Scale down values above
4823 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4824 * math/s_csqrtf.c (__csqrtf): Likewise.
4825 * math/s_csqrtl.c (__csqrtl): Likewise.
4826 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4827 spurious underflow.
4828 * sysdeps/i386/fpu/libm-test-ulps: Update.
4829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4830
70d35b67
AS
48312012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4832
704bc459
AS
4833 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4834 xopen-msg.sed.
4835 * catgets/xopen-msg.awk: New file.
4836 * catgets/xopen-msg.sed: Removed.
4837
70d35b67
AS
4838 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4839 po2text.sed.
4840 * intl/po2test.awk: New file.
4841 * intl/po2test.sed: Removed.
4842
ca61cf32
JM
48432012-07-04 Joseph Myers <joseph@codesourcery.com>
4844
4845 [BZ #14328]
4846 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4847 or multiply small sinh result by itself.
4848 * math/s_ctanf.c (__ctanf): Likewise.
4849 * math/s_ctanh.c (__ctanh): Likewise.
4850 * math/s_ctanhf.c (__ctanhf): Likewise.
4851 * math/s_ctanhl.c (__ctanhl): Likewise.
4852 * math/s_ctanl.c (__ctanl): Likewise.
4853 * math/libm-test.inc (ctan_test_tonearest): New function.
4854 (ctan_test_towardzero): Likewise.
4855 (ctan_test_downward): Likewise.
4856 (ctan_test_upward): Likewise.
4857 (ctanh_test_tonearest): Likewise.
4858 (ctanh_test_towardzero): Likewise.
4859 (ctanh_test_downward): Likewise.
4860 (ctanh_test_upward): Likewise.
4861 (main): Call these new functions.
4862 * sysdeps/i386/fpu/libm-test-ulps: Update.
4863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4864
ca48a46a
MF
48652012-07-03 Mike Frysinger <vapier@gentoo.org>
4866
4867 * .gitignore: Delete /ports entry.
4868
9d63d37d
AJ
48692012-07-03 Andreas Jaeger <aj@suse.de>
4870
4871 * po/bg.po: Update from translation team.
4872 * po/cs.po: Likewise.
4873 * po/de.po: Likewise.
4874 * po/hr.po: Likewise.
4875 * po/nl.pl: Likewise.
4876 * po/pl.po: Likewise.
4877 * po/vi.po: Likewise.
4878
370ca3d2
JM
48792012-07-03 Joseph Myers <joseph@codesourcery.com>
4880
95f5a9a8
JM
4881 * Makeconfig [!+link] (+link-before-libc): New variable.
4882 [!+link] (+link-after-libc): Likewise.
4883 [!+link] (+link-tests): Likewise.
4884 [!+link] (+link): Define in terms of $(+link-before-libc) and
4885 $(+link-after-libc).
4886 [!+link-static] (+link-static-before-libc): New variable.
4887 [!+link-static] (+link-static-after-libc): Likewise.
4888 [!+link-static] (+link-static-tests): Likewise.
4889 [!+link-static] (+link-static): Define in terms of
4890 $(+link-static-before-libc) and $(+link-static-after-libc).
4891 [build-shared] (link-libc-before-gnulib): New variable.
4892 [build-shared] (link-libc-tests): Likewise.
4893 [build-shared] (link-libc): Define in terms of
4894 $(link-libc-before-gnulib).
4895 [!build-shared] (link-libc-tests): New variable.
4896 (link-libc-static-tests): New variable.
4897 [!gnulib] (gnulib-arch): New variable.
4898 [!gnulib] (gnulib-tests): Likewise.
4899 [!gnulib] (static-gnulib-arch): Likewise.
4900 [!gnulib] (static-gnulib-tests): Likewise.
4901 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4902 Define with "=" instead of ":=".
4903 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4904 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4905 * Rules (binaries-all-notests): New variable.
4906 (binaries-all-tests): Likewise.
4907 (binaries-static-notests): Likewise.
4908 (binaries-static-tests): Likewise.
4909 (binaries-all): Define using $(binaries-all-notests) and
4910 $(binaries-all-tests).
4911 (binaries-static): Define using $(binaries-static-notests) and
4912 $(binaries-static-tests).
4913 (binaries-shared-tests): New variable.
4914 (binaries-shared-notests): Likewise.
4915 (binaries-shared): Remove variable.
4916 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4917 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4918 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4919 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4920 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4921 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4922 * elf/Makefile (sln-modules): New variable.
4923 (extra-objs): Add $(sln-modules:=.o).
4924 (ldconfig-modules): Add static-stubs.
4925 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4926 * elf/static-stubs.c: New file.
4927
7a845b2c
JM
4928 [BZ #14283]
4929 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4930 by 7 not 8 to examine high bit of fractional part. Use volatile
4931 variables when splitting into final array of floats if
4932 __FLT_EVAL_METHOD__ != 0.
4933 * math/libm-test.inc (cos_test): Add another test.
4934 (sin_test): Likewise.
4935 * sysdeps/i386/fpu/libm-test-ulps: Update.
4936
e2283f38
JM
4937 [BZ #14273]
4938 * math/libm-test.inc (cosh_test): Add more tests.
4939
370ca3d2
JM
4940 * version.h (RELEASE): Set to "development".
4941 (VERSION): Set to "2.16.90".
4942
ee9247c3
CD
49432012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4944
4945 * NEWS: Update copyright. Remove last-updated date.
4946 Mention math library bug fixes and timezone data changes.
4947 * README: Mention GNU/Hurd, x32, and HPPA support status.
4948
4648c381
TS
49492012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4950
4951 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4952
aac78a43
AJ
49532012-06-27 Andreas Jaeger <aj@suse.de>
4954
4955 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4956
ed3dbfad
AJ
49572012-06-25 Andreas Jaeger <aj@suse.de>
4958
4959 * sysdeps/s390/fpu/libm-test-ulps: Update.
4960
4d0ee855
AS
49612012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4962 Thomas Schwinge <thomas@codesourcery.com>
4963
4964 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4965 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4966 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4967 fanotify_mark.
4968
af1bce34
TS
49692012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4970
a9fa33ba
TS
4971 * sysdeps/mach/start.c: Remove file.
4972 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4973 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4974 * sysdeps/sh/init-first.c: Likewise.
4975
58f902b8
TS
4976 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4977 registers for frame unwinding purposes, add CFI directives.
4978 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4979 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4980 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4981 Likewise.
4982
1518f58b
TS
4983 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4984 __fortify_fail returning.
4985 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4986
db9b5059
TS
4987 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4988 sysdeps/sh/____longjmp_chk.S.
4989 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4990 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4991 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4992 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4993
967705fe
TS
4994 * sysdeps/sh/abort-instr.h: New file.
4995 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4996 process in case exit returns.
4997
a9def8c4
TS
4998 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4999 initialize the GOT register before use.
5000
2a649725
TS
5001 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5002 calculation of ARGC > 4.
5003
af1bce34
TS
5004 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5005 meaningful names to some local labels.
5006
d230f50a
KK
50072012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5008 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5009
5010 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5011 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5012 (__arch_compare_and_exchange_val_16_acq): Likewise.
5013 (__arch_compare_and_exchange_val_32_acq): Likewise.
5014 (atomic_exchange_and_add): Fix gUSA sequence.
5015 (atomic_add): Likewise.
5016 (atomic_add_negative): Likewise.
5017 (atomic_add_zero): Likewise.
5018 (atomic_bit_test_set): Likewise.
5019
0479b305
AS
50202012-06-22 Andreas Schwab <schwab@redhat.com>
5021
5022 [BZ #13579]
5023 * include/link.h (struct link_map): Add l_free_initfini.
5024 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5025 l_initfini.
5026 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5027 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5028 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5029 set.
5030
0e3933b9
CD
50312012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5032
5033 * configure.in: Use AC_LANG_SOURCE.
5034 * configure: Regenerate.
5035
4248b1b1
RM
50362012-06-22 Roland McGrath <roland@hack.frob.com>
5037
5038 * configure.in (libc_cv_localstatedir): New substituted variable.
5039 * configure: Regenerated.
5040 * config.make.in (localstatedir): New variable, substituted from
5041 libc_cv_localstatedir.
5042 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5043 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5044 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5045 * sysdeps/gnu/configure: Regenerated.
5046
006dd861
JL
50472012-06-21 Jeff Law <law@redhat.com>
5048
5049 [BZ #14277]
5050 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5051 free. Simplify list management for _LIBC case.
5052
79662d42
JM
50532012-06-21 Joseph Myers <joseph@codesourcery.com>
5054
b7abb4bf
JM
5055 [BZ #14273]
5056 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5057 Clear sign bit of 64-bit integer value before comparing against
5058 overflow value.
5059
79662d42
JM
5060 * sysdeps/mach/configure: Regenerated.
5061
1f150908
L
50622012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5063
5064 [BZ #14278]
5065 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5066
28363bbf
JL
50672012-06-21 Jeff Law <law@redhat.com>
5068
5069 [BZ #13882]
5070 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5071 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 5072 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
5073 * elf/dl-open.c (dl_open_worker): Likewise.
5074
09615db4
CD
50752012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5076
5077 * scripts/list-sources.sh: Scan PORTS for translations.
5078 * po/libc.pot: Regenerated.
5079
2174c6dd
AJ
50802012-06-21 Andreas Jaeger <aj@suse.de>
5081
5082 [BZ #12194]
5083 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5084 warning.
5085 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5086 * bits/byteswap-16.h (__bswap_16): Likewise.
5087 * bits/byteswap.h (__bswap_constant_16): Likewise.
5088
3ee947b1
L
50892012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5090
5091 [BZ #14117]
a2f34833
L
5092 * sysdeps/i386/fpu_control.h: Removed.
5093 * sysdeps/x86_64/fpu_control.h: Moved to ...
5094 * sysdeps/x86/fpu_control.h: Here.
5095
3ee947b1
L
5096 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5097 (_FPU_SETCW): Likewise.
5098
ed1825f8
L
50992012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5100
25f1282a
L
5101 [BZ #14117]
5102 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5103 * sysdeps/x86/fpu/bits/mathinline.h: This.
5104 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5105
ed1825f8
L
5106 [BZ #14050]
5107 [BZ #14117]
5108 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5109 functions if __x86_64__ is defined.
5110
36d54b74
CLT
51112012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5112
5113 * string/endian.h: Add !__ASSEMBLER__ condition for including
5114 conversion interfaces.
5115
10285c21
JM
51162012-06-15 Joseph Myers <joseph@codesourcery.com>
5117
5118 [BZ #14241]
5119 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5120 of ABS(x) in calculating zero to negative powers other than odd
5121 integers.
5122 * math/libm-test.inc (pow_test): Add more tests.
5123
06c5abbd
AJ
51242012-06-15 Andreas Jaeger <aj@suse.de>
5125
5126 * manual/contrib.texi (Contributors): Update entry of Liubov
5127 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5128 Machado Filho.
5129
a3aeac40
CH
51302012-06-15 Cyril Hrubis <metan@ucw.cz>
5131
5132 * string/string.h: Add __wur to GNU version of strerror_r.
5133
49bdf4c1
L
51342012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5135
5136 [BZ #14229]
5137 * string/Makefile (tests): Add tst-strtok_r.
5138 * string/tst-strtok_r.c: New file.
5139 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5140 RAX_LP/RDX_LP on SAVE_PTR.
5141
834f9b8d
RM
51422012-06-14 Roland McGrath <roland@hack.frob.com>
5143
5144 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5145
75fa1921
JM
51462012-06-14 Joseph Myers <joseph@codesourcery.com>
5147
5148 * libm_test.inc (csqrt_test): Allow more spurious underflow
5149 exceptions.
5150 (j0_test): Likewise.
5151 (j1_test): Likewise.
5152 (y0_test): Likewise.
5153 (y1_test): Likewise.
5154
771766df
CD
51552012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
5156
5157 * po/Makefile (libc.pot): Use UTF-8 charset.
5158
ceb9e56b
PP
51592012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5160
5161 [BZ #14210]
5162 Suppress sign-conversion warning from FD_SET.
5163 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5164 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5165 not unsigned long int.
5166 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5167
ddb28975
L
51682012-06-12 H.J. Lu <hongjiu.lu@intel.com>
5169
5170 [BZ #14050]
5171 [BZ #14117]
5172 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5173 __extern_always_inline instead of __extern_inline.
5174 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5175 (__signbit): Likewise.
5176 (__signbitl): Support C++ namespace.
5177 (lrintf): New inline function.
5178 (lrint): Likewise.
5179 (llrintf): Likewise.
5180 (llrint): Likewise.
5181 (fmaxf): Likewise.
5182 (fmax): Likewise.
5183 (fminf): Likewise.
5184 (fmin): Likewise.
5185 (rint): Likewise.
5186 (rintf): Likewise.
5187 (ceil): Likewise.
5188 (ceilf): Likewise.
5189 (floor): Likewise.
5190 (floorf): Likewise.
5191 (nearbyint): Likewise.
5192 (nearbyintf): Likewise.
5193
d7b4fb26
TS
51942012-06-12 Thomas Schwinge <thomas@codesourcery.com>
5195
5196 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5197 non-default versions.
5198
eb55f5c2
RM
51992012-06-11 Roland McGrath <roland@hack.frob.com>
5200
5201 [BZ #14218]
5202 * manual/argp.texi (Argp): Reword argp_parse description slightly.
5203
366af02c
TS
52042012-06-09 Thomas Schwinge <thomas@codesourcery.com>
5205
99ff6e5c
TS
5206 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
5207 (FE_UPWARD, FE_DOWNWARD): Don't define.
5208 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
5209 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5210
366af02c
TS
5211 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
5212 reading it.
5213 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5214 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5215
793ea851
KK
52162012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5217
5218 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5219 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
5220 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
5221 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
5222
a728a38f
L
52232012-06-06 H.J. Lu <hongjiu.lu@intel.com>
5224
5225 [BZ #14117]
c08010c7
L
5226 * sysdeps/i386/fpu/bits/fenv.h: Removed.
5227 * sysdeps/i386/fpu/Implies: New file.
5228 * sysdeps/x86_64/fpu/Implies: Likewise.
5229 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
5230 * sysdeps/x86/fpu/bits/fenv.h: This.
5231
a728a38f
L
5232 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
5233 __SSE_MATH__.
5234
6e230d11
SP
52352012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5236
5237 [BZ #14134]
5238 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
5239 character 0xffff that matches the last element of the
5240 conversion table.
5241
1b671feb
AZ
52422012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5243
5244 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
5245 fmodl commit.
5246
6043738b
AZ
52472012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5248
5249 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
5250 values higher than 25.6283.
5251
34ae0b32
AZ
52522012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5253
5254 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
5255 subnormal exponent extraction and add some __builtin_expect.
5256 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
5257 Fix for subnormal mantissa calculation.
5258
1214ec8f
MF
52592012-06-04 Mike Frysinger <vapier@gentoo.org>
5260
5261 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
5262 cpu2 is -1 and errno is not ENOSYS.
5263
f3d1f93c
L
52642012-06-04 H.J. Lu <hongjiu.lu@intel.com>
5265
5266 [BZ #14117]
0e4a3cd7
L
5267 * sysdeps/i386/i486/bits/string.h: Renamed to ...
5268 * sysdeps/x86/bits/string.h: This.
5269 * sysdeps/x86_64/bits/string.h: Removed.
5270
6704c645
L
5271 * sysdeps/i386/i486/bits/string.h: Define inline functions only
5272 if not compiling for x86-64, but compiling for >= i486.
5273
48495318
L
5274 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
5275 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
5276
14adcbfc
L
5277 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
5278 New macro from Linux kernel 3.4.0.
5279 (FP_XSTATE_MAGIC2): Likewise.
5280 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5281 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
5282 (struct _fpx_sw_bytes): New struct.
5283 (struct _xsave_hdr): Likewise.
5284 (struct _ymmh_state): Likewise.
5285 (struct _xstate): Likewise.
5286
68e408ab
L
5287 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
5288 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
5289 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
5290 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
5291 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
5292 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
5293
f3d1f93c
L
5294 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
5295 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
5296 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
5297 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
5298 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
5299 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
5300
d9dc34cd
TMQMF
53012012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5302
5303 [BZ #13743]
5304 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
5305 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
5306 (sysdep_headers): Include sys/platform/ppc.h.
5307 * sysdeps/powerpc/test-gettimebase.c: Test for
5308 __ppc_get_timebase() to catch future ISA opcode/insn changes.
5309 * manual/Makefile (appendices): Include platform.texi.
5310 * manual/contrib.texi (Contributors): Update @node pointers.
5311 * manual/maint.texi (Maintenance): Likewise.
5312 (Platform): New node.
5313 * manual/platform.texi: New file. Document the new features.
5314
4af3879c
SP
53152012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5316 Jakub Jelinek <jakub@redhat.com>
5317
5318 [BZ #14188]
5319 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
5320 where __builtin_expect is unavailable.
5321
2fd6ff13
DM
53222012-06-03 David S. Miller <davem@davemloft.net>
5323
5324 * stdlib/longlong.h: Updated from GCC.
5325
173f7220
AS
53262012-06-02 Andreas Schwab <schwab@linux-m68k.org>
5327
5328 [BZ #14042]
5329 * sysdeps/powerpc/powerpc32/mcount.c: New file.
5330 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
5331 __mcount_internal.
5332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5333 (GLIBC_2.16): Likewise.
5334
f34a1c6f
L
53352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5336
5337 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
5338
88a4576f
JM
53392012-06-01 Joseph Myers <joseph@codesourcery.com>
5340
ea32bcdd
JM
5341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5342 (default-abi): New variable.
5343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
5344 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
5345 variable.
5346 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
5347 Likewise.
5348 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
5349 Likewise.
5350 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
5351 Likewise.
5352
88a4576f
JM
5353 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
5354 definition. Document in comment.
5355
402fe938
DM
53562012-06-01 David S. Miller <davem@davemloft.net>
5357
5358 * stdlib/longlong.h: Updated from GCC.
5359
3553723f
L
53602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5361
5362 [BZ #14117]
3bd872c4
L
5363 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
5364 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
5365 sys/debugreg.h sys/io.h here.
5366 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
5367 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
5368 sys/io.h.
5369 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
5370 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
5371 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
5372 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
5373 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
5374 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
5375
3553723f
L
5376 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
5377 Define only if __x86_64__ is defined.
5378
4842e4fe
JM
53792012-06-01 Joseph Myers <joseph@codesourcery.com>
5380
c5bfe3d5
JM
5381 [BZ #14048]
5382 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
5383 Use int64_t for variable i.
5384 * math/libm-test.inc (fmod_test): Add more tests.
5385
4842e4fe
JM
5386 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
5387 z computation is not scheduled after fetestexcept.
5388 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
5389 Use math_force_eval instead of asm to ensure calculation scheduled
5390 before exception test.
5391 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
5392 Ensure a1 + u.d computation is not scheduled after fetestexcept.
5393
efb73488
AJ
53942012-06-01 Aurelien Jarno <aurelien@aurel32.net>
5395
5396 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
5397 computation is not scheduled after fetestexcept.
5398
29bcce7c
L
53992012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5400
5401 [BZ #14117]
5402 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
5403 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
5404
73a68f94
AZ
54052012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5406
5407 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
5408 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5409
67b6df78
L
54102012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5411
edf2933a 5412 [BZ #14117]
ebc64a18
L
5413 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
5414 <bits/wordsize.h>.
5415 (__WCHAR_MIN): Support __WORDSIZE == 64.
5416 (__WCHAR_MAX): Likewise.
5417
edf2933a
L
5418 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
5419 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
5420
57c6cf40
L
5421 [BZ #14183]
5422 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
5423 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
5424
67b6df78 5425 [BZ #14117]
8eb6281e
L
5426 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
5427 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
5428
aac639f4
L
5429 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
5430 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
5431
67b6df78
L
5432 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
5433 Defined to 1 if __x86_64__ isn't defined.
5434 (_STAT_VER_LINUX_OLD): New.
5435 (st_atime): Remove duplicate.
5436 (st_mtime): Likewise.
5437 (st_ctime): Likewise.
5438
1c2cfe81
DM
54392012-05-31 David S. Miller <davem@davemloft.net>
5440
5441 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
5442 entries.
5443
5be8418c
AS
54442012-06-01 Andreas Schwab <schwab@linux-m68k.org>
5445
e7725326
AS
5446 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
5447 gen-libm-test.pl.
5448
5be8418c
AS
5449 [BZ #14132]
5450 * elf/dl-reloc.c: Include <_itoa.h>.
5451 (_dl_reloc_bad_type): Remove use of INTUSE.
5452 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
5453 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
5454 * stdio-common/psiginfo.c (psiginfo): Likewise.
5455 * stdio-common/psignal.c (psignal): Likewise.
5456 * string/strsignal.c (strsignal): Likewise.
5457 * include/signal.h (_sys_siglist): Declare hidden proto.
5458 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
5459 INTVARDEF with libc_hidden_data_def.
5460 * stdio-common/itoa-udigits.c: Likewise.
5461 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
5462 (_itoa_lower_digits_internal): Remove declaration.
5463 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
5464 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
5465 (_sys_sigabbrev_internal): Remove aliases.
5466 (_sys_siglist): Define hidden alias.
5467
507352f1
MT
54682012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
5469
5470 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5471 bits/sysctl.h.
5472
42bbb1c3
L
54732012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5474
5475 [BZ #14117]
6bd784b6
L
5476 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
5477 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
5478
8bca20f0
L
5479 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
5480 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
5481 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
5482 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
5483 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
5484 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
5485
f9e890a9
L
5486 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
5487 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
5488 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
5489
471101a1
L
5490 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
5491 with __addr.
5492 (insw): Likewise.
5493 (insl): Likewise.
5494 (outsb): Likewise.
5495 (outsw): Likewise.
5496 (outsl): Likewise.
5497
6451c862
L
5498 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
5499 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
5500 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
5501
a254b8c9
L
5502 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
5503 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
5504 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
5505 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
5506 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
5507 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
5508
b8dfdd92
L
5509 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
5510 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
5511
578cd270
L
5512 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
5513 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
5514
de662f5f
L
5515 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
5516 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
5517 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
5518
25653439
L
5519 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
5520 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
5521 to ...
5522 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
5523
6bad24a0
L
5524 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
5525 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
5526 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
5527
42bbb1c3
L
5528 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
5529 for x86-64.
5530 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
5531
2d10d547
JM
55322012-05-31 Joseph Myers <joseph@codesourcery.com>
5533
5534 * math/math.h (M_El): Use two more decimal places.
5535 (M_LOG2El): Likewise.
5536 (M_LOG10El): Likewise.
5537 (M_LN2l): Likewise.
5538 (M_LN10l): Likewise.
5539 (M_PIl): Likewise.
5540 (M_PI_2l): Likewise.
5541 (M_PI_4l): Likewise.
5542 (M_1_PIl): Likewise.
5543 (M_2_PIl): Likewise.
5544 (M_2_SQRTPIl): Likewise.
5545 (M_SQRT2l): Likewise.
5546 (M_SQRT1_2l): Likewise.
5547
f230c29b
DM
55482012-05-31 David S. Miller <davem@davemloft.net>
5549
5550 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
5551 values between float registers.
5552 * sysdeps/sparc/sparc64/memset.S: Likewise.
5553 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5554
fed806c3
MF
55552012-05-31 Mike Frysinger <vapier@gentoo.org>
5556
5557 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
5558 -D_FORTIFY_SOURCE=1.
5559 (CPPFLAGS-tst-longjmp_chk.c): Define.
5560 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
5561 (CPPFLAGS-tst-longjmp_chk2.c): Define.
5562 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
5563 CFLAGS-tst-wchar-h.c.
5564
30917259
MP
55652012-05-31 Marek Polacek <polacek@redhat.com>
5566
5567 [BZ #14132]
5568 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
5569 __endmntent_internal): Remove declaration.
5570 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
5571 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
5572 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
5573
1c58d5dc
DM
55742012-05-30 David S. Miller <davem@davemloft.net>
5575
5576 * sysdeps/sparc/sparc32/soft-fp/q_util.c
5577 (___Q_simulate_exceptions): Use real FP ops rather than writing
5578 into the %fsr.
5579 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
5580 Likewise.
5581
7dc00e0d
L
55822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5583
5584 [BZ #14117]
0bd53985
L
5585 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
5586 * sysdeps/x86/bits/xtitypes.h: This.
5587
3a257e66
L
5588 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
5589 * sysdeps/x86/bits/wordsize.h: This.
5590
62f62904
L
5591 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
5592 * sysdeps/x86/bits/huge_vall.h: This.
5593
404fe9d9
L
5594 * sysdeps/i386/bits/select.h: Removed.
5595 * sysdeps/x86_64/bits/select.h: Renamed to ...
5596 * sysdeps/x86/bits/select.h: This.
5597
d48d0446
L
5598 * sysdeps/i386/bits/setjmp.h: Removed.
5599 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
5600 * sysdeps/x86/bits/setjmp.h: This.
5601
7dc00e0d
L
5602 * sysdeps/i386/bits/mathdef.h: Removed.
5603 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
5604 * sysdeps/x86/bits/mathdef.h: This.
5605
03277f8f
AS
56062012-05-30 Andreas Schwab <schwab@linux-m68k.org>
5607
5608 [BZ #14132]
5609 * include/sys/socket.h (__connect_internal)
5610 (__libc_sa_len_internal): Remove declaration.
5611 (__connect, __libc_sa_len): Declare hidden_proto.
5612 (SA_LEN): Remove use of INTUSE.
5613 * socket/connect.c: Add libc_hidden_def.
5614 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
5615 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
5616 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
5617 alias.
5618 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5619 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5620 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
5621 of adding _internal alias.
5622
13764867
L
56232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5624
5625 [BZ #14117]
6bd97696
L
5626 * sysdeps/i386/bits/link.h: Removed.
5627 * sysdeps/i386/bits/linkmap.h: Likewise.
5628 * sysdeps/x86_64/bits/link.h: Renamed to ...
5629 * sysdeps/x86/bits/link.h: This.
5630 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
5631 * sysdeps/x86/bits/linkmap.h: This.
5632
f726f0bb
L
5633 * sysdeps/i386/bits/endian.h: Removed.
5634 * sysdeps/x86_64/bits/endian.h: Renamed to ...
5635 * sysdeps/x86/bits/endian.h: This.
5636
13764867
L
5637 * sysdeps/i386/bits/byteswap.h: Removed.
5638 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5639 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
5640 * sysdeps/x86/bits/byteswap.h: This.
5641 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
5642 * sysdeps/x86/bits/byteswap-16.h: This.
5643 * sysdeps/i386/Implies: Add x86.
5644 * sysdeps/x86_64/Implies: Likewise.
5645
ae251b0b
DM
56462012-05-30 David S. Miller <davem@davemloft.net>
5647
5648 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
5649 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
5650 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5651 (FP_TRAPPING_EXCEPTIONS): Define.
5652 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5653 (FP_TRAPPING_EXCEPTIONS): Define.
5654 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
5655 subnormals only when inexact has been signalled or underflow
5656 exceptions are enabled.
5657 (_FP_PACK_CANONICAL): Likewise.
5658
d5c90867
L
56592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5660
5661 [BZ #14183]
5662 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
5663 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
5664
63f1549e
RH
56652012-05-30 Richard Henderson <rth@twiddle.net>
5666
8d8f2279
RH
5667 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
5668 with #ifndef NOT_IN_libc.
5669
63f1549e
RH
5670 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
5671 marked to avoid plt entry.
5672
0ab0291b
L
56732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5674
5675 [BZ #14112]
5676 * Makeconfig (default-abi): New macro.
5677 (abi-includes): Likewise.
5678 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
5679 $(abi-$(default-abi)-lib-soname) for soname if defined.
5680 ($(common-objpfx)gnu/lib-names.stmp): Generate from
5681 abi-variants.
5682 * Makefile (installed-stubs): Likewise.
5683 * include/stubs-biarch.h: Removed.
5684 * scripts/lib-names.awk: Only handle one library at a time.
5685 * scripts/soversions.awk: Remove WORDSIZE support.
5686 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5687 entries.
5688 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5689 Removed.
5690 (syscall-list-default-condition): Likewise.
5691 (syscall-list-default-condition): Likewise.
5692 (syscall-list-includes): Likewise.
5693 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5694 syscall-list-* with abi-*. Handle undefined abi-variants.
5695 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5696 * sysdeps/unix/sysv/linux/i386/Implies: New file.
5697 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5698 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5699 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5700 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5701 Removed.
5702 (syscall-list-32-options): Likewise.
5703 (syscall-list-32-condition): Likewise.
5704 (syscall-list-64-options): Likewise.
5705 (syscall-list-64-condition): Likewise.
5706 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5707 macro.
5708 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5709 Renamed to ...
5710 (abi-*): This.
5711 (abi-64-ld-soname): New macro.
5712 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5713 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5714 Renamed to ...
5715 (abi-*): This.
5716 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5717 * sysdeps/x86_64/x32/shlib-versions: Likewise.
5718
4da0431d
JM
57192012-05-30 Joseph Myers <joseph@codesourcery.com>
5720
3a85279c
JM
5721 * sysdeps/unix/sysv/linux/kernel-features.h
5722 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5723 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
5724 include <kernel-features.h>.
5725 [!__NR_ftruncate64]: Remove conditional code.
5726 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5727 [__NR_ftruncate64]: Make code unconditional.
5728 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5729 * sysdeps/unix/sysv/linux/truncate64.c: Do not
5730 include <kernel-features.h>.
5731 [!__NR_ftruncate64]: Remove conditional code.
5732 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5733 [__NR_ftruncate64]: Make code unconditional.
5734 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
5736 include <kernel-features.h>.
5737 [!__NR_ftruncate64]: Remove conditional code.
5738 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5739 [__NR_ftruncate64]: Make code unconditional.
5740 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5742 include <kernel-features.h>.
5743 [!__NR_ftruncate64]: Remove conditional code.
5744 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5745 [__NR_ftruncate64]: Make code unconditional.
5746 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5747
4da0431d
JM
5748 * configure.in (libc_cv_fpie): Weaken to a compile test using
5749 LIBC_TRY_CC_OPTION.
5750 * configure: Regenerated.
5751
11ef492c
AK
57522012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5753
5754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5758 Refreshed.
5759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5765 Refreshed.
5766
d66ef399
DM
57672012-05-27 David S. Miller <davem@davemloft.net>
5768
5769 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5770 (___Q_zero): New.
5771 (__Q_simulate_exceptions): Return void. Change to simulate
5772 exceptions by writing into the %fsr.
5773 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5774 (__Qp_handle_exceptions): Likewise.
5775 (numbers): Delete.
5776 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5777 __Qp_handle_exceptions.
5778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5779 __Qp_handle_exceptions.
5780 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5781 as unused and give dummy FP_RND_NEAREST initializer.
5782 (FP_INHIBIT_RESULTS): Define.
5783 (___Q_simulate_exceptions): Update declaration.
5784 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5785 formatting.
5786 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5787 as unused and give dummy FP_RND_NEAREST initializer.
5788 (__Qp_handle_exceptions): Update declaration.
5789 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5790 formatting.
5791
04fb54b5
TS
57922012-05-27 Thomas Schwinge <thomas@codesourcery.com>
5793
5794 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5795 the temporary FPU control word.
5796 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5797 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5798 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5799 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5800 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5801 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5802 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5803 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5804 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5805 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5806 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5807
3f99608f
KK
58082012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5809
5810 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5811 fields.
5812
65a4de4e
CLT
58132012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5814
5815 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5816 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5817 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5818 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5819 Likewise.
5820 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5821 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5822 Likewise.
5823
15749d40
UD
58242012-05-27 Ulrich Drepper <drepper@gmail.com>
5825
5826 * po/h.po: Update from translation team.
5827
25dbcb27
AS
58282012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5829
3d3f8e55
AS
5830 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5831
25dbcb27
AS
5832 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5833 handling of denormals.
5834 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5835 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5836 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5837 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5838 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5839 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5840 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5841 Likewise.
5842
7ad47a80 58432012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
5844
5845 [BZ #14152]
5846 * math/libm-test.inc (fma_test): Don't always expect underflow
5847 exception.
5848
9c6ea9fa
SP
58492012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5850
5851 [BZ #12416]
5852 * elf/tst-execstack.c: Include stackinfo.h.
5853 (do_test): Adjust test case to ensure that pthread_getattr_np
5854 behaviour remains the same after marking stack executable.
5855
a8239222
JM
58562012-05-25 Joseph Myers <joseph@codesourcery.com>
5857
5858 * sysdeps/unix/sysv/linux/kernel-features.h
5859 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5860 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5861 kernel-features.h.
5862 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5863 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5864 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5865 kernel-features.h.
5866 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5867 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5868
918b5606
L
58692012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5870
5871 * configure.in: Define the default includes to being none.
5872 * configure: Regenerated.
5873
3a097cc7
RM
58742012-05-25 Roland McGrath <roland@hack.frob.com>
5875
8422c9a5
RM
5876 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5877 * sysdeps/x86_64/setjmp.S: Likewise.
5878 * sysdeps/i386/bsd-setjmp.S: Likewise.
5879 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5880 * sysdeps/i386/setjmp.S: Likewise.
5881 * sysdeps/i386/__longjmp.S: Likewise.
5882 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5883 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5884
3a097cc7
RM
5885 * include/stap-probe.h: New file.
5886 * configure.in: Handle --enable-systemtap.
5887 * configure: Regenerated.
5888 * config.h.in (USE_STAP_PROBE): New #undef.
5889 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5890 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5891 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5892
21708942
JM
58932012-05-25 Joseph Myers <joseph@codesourcery.com>
5894
5895 [BZ #13717]
5896 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5897 to 2.4.0 where earlier.
5898 * sysdeps/unix/sysv/linux/configure: Regenerated.
5899 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5900 <kernel-features.h>.
5901 [__ASSUME_32BITUIDS]: Make code unconditional.
5902 [!__ASSUME_32BITUIDS]: Remove conditional code.
5903 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5904 <kernel-features.h>.
5905 [__ASSUME_32BITUIDS]: Make code unconditional.
5906 [!__ASSUME_32BITUIDS]: Remove conditional code.
5907 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5908 [__ASSUME_32BITUIDS]: Make code unconditional.
5909 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5910 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5911 <kernel-features.h>.
5912 [__ASSUME_32BITUIDS]: Make code unconditional.
5913 [!__ASSUME_32BITUIDS]: Remove conditional code.
5914 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5915 <kernel-features.h>.
5916 [__ASSUME_32BITUIDS]: Make code unconditional.
5917 [!__ASSUME_32BITUIDS]: Remove conditional code.
5918 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5919 <kernel-features.h>.
5920 [__ASSUME_32BITUIDS]: Make code unconditional.
5921 [!__ASSUME_32BITUIDS]: Remove conditional code.
5922 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5923 <kernel-features.h>.
5924 [__ASSUME_32BITUIDS]: Make code unconditional.
5925 [!__ASSUME_32BITUIDS]: Remove conditional code.
5926 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5927 <kernel-features.h>.
5928 [__ASSUME_32BITUIDS]: Make code unconditional.
5929 [!__ASSUME_32BITUIDS]: Remove conditional code.
5930 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5931 <kernel-features.h>.
5932 [__ASSUME_32BITUIDS]: Make code unconditional.
5933 [!__ASSUME_32BITUIDS]: Remove conditional code.
5934 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5935 <kernel-features.h>.
5936 [__ASSUME_32BITUIDS]: Make code unconditional.
5937 [!__ASSUME_32BITUIDS]: Remove conditional code.
5938 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5939 <kernel-features.h>.
5940 [__ASSUME_32BITUIDS]: Make code unconditional.
5941 [!__ASSUME_32BITUIDS]: Remove conditional code.
5942 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5943 <kernel-features.h>.
5944 [__ASSUME_32BITUIDS]: Make code unconditional.
5945 [!__ASSUME_32BITUIDS]: Remove conditional code.
5946 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5947 <kernel-features.h>.
5948 [__ASSUME_32BITUIDS]: Make code unconditional.
5949 [!__ASSUME_32BITUIDS]: Remove conditional code.
5950 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5951 <kernel-features.h>.
5952 [__NR_setresgid] (__setresgid): Do not declare.
5953 [__ASSUME_32BITUIDS]: Make code unconditional.
5954 [!__ASSUME_32BITUIDS]: Remove conditional code.
5955 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5956 <kernel-features.h>.
5957 [__NR_setresuid] (__setresuid): Do not declare.
5958 [__ASSUME_32BITUIDS]: Make code unconditional.
5959 [!__ASSUME_32BITUIDS]: Remove conditional code.
5960 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5961 <kernel-features.h>.
5962 [__ASSUME_32BITUIDS]: Make code unconditional.
5963 [!__ASSUME_32BITUIDS]: Remove conditional code.
5964 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5965 <kernel-features.h>.
5966 [__ASSUME_32BITUIDS]: Make code unconditional.
5967 [!__ASSUME_32BITUIDS]: Remove conditional code.
5968 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5969 <kernel-features.h>.
5970 [__ASSUME_32BITUIDS]: Make code unconditional.
5971 [!__ASSUME_32BITUIDS]: Remove conditional code.
5972 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5973 <kernel-features.h>.
5974 [__ASSUME_32BITUIDS]: Make code unconditional.
5975 [!__ASSUME_32BITUIDS]: Remove conditional code.
5976 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5977 <kernel-features.h>.
5978 [__ASSUME_32BITUIDS]: Make code unconditional.
5979 [!__ASSUME_32BITUIDS]: Remove conditional code.
5980 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5981 <kernel-features.h>.
5982 [__ASSUME_32BITUIDS]: Make code unconditional.
5983 [!__ASSUME_32BITUIDS]: Remove conditional code.
5984 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5985 <kernel-features.h>.
5986 [__ASSUME_32BITUIDS]: Make code unconditional.
5987 [!__ASSUME_32BITUIDS]: Remove conditional code.
5988 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5989 <kernel-features.h>.
5990 [__ASSUME_32BITUIDS]: Make code unconditional.
5991 [!__ASSUME_32BITUIDS]: Remove conditional code.
5992 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5993 <kernel-features.h>.
5994 [__ASSUME_32BITUIDS]: Make code unconditional.
5995 [!__ASSUME_32BITUIDS]: Remove conditional code.
5996 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5997 <kernel-features.h>.
5998 [__ASSUME_32BITUIDS]: Make code unconditional.
5999 [!__ASSUME_32BITUIDS]: Remove conditional code.
6000 * sysdeps/unix/sysv/linux/kernel-features.h
6001 (__ASSUME_SETRESUID_SYSCALL): Remove.
6002 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6003 (__ASSUME_32BITUIDS): Likewise.
6004 (__ASSUME_LDT_WORKS): Likewise.
6005 (__ASSUME_O_DIRECTORY): Likewise.
6006 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6007 architecture but not kernel version.
6008 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6009 (__ASSUME_MMAP2_SYSCALL): Likewise.
6010 (__ASSUME_STAT64_SYSCALL): Likewise.
6011 (__ASSUME_IPC64): Likewise.
6012 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6013 <kernel-features.h>.
6014 [__ASSUME_32BITUIDS]: Make code unconditional.
6015 [!__ASSUME_32BITUIDS]: Remove conditional code.
6016 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6017 <kernel-features.h>.
6018 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6019 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6020 132096]: Remove conditional code.
6021 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6022 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6023 <kernel-features.h>.
6024 [__ASSUME_32BITUIDS]: Make code unconditional.
6025 [!__ASSUME_32BITUIDS]: Remove conditional code.
6026 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6027 <kernel-features.h>.
6028 [__ASSUME_32BITUIDS]: Make code unconditional.
6029 [!__ASSUME_32BITUIDS]: Remove conditional code.
6030 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6031 <kernel-features.h>.
6032 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6033 unconditional.
6034 (__setresgid): Do not declare.
6035 [__ASSUME_32BITUIDS]: Make code unconditional.
6036 [!__ASSUME_32BITUIDS]: Remove conditional code.
6037 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6038 <kernel-features.h>.
6039 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6040 unconditional.
6041 (__setresuid): Do not declare.
6042 [__ASSUME_32BITUIDS]: Make code unconditional.
6043 [!__ASSUME_32BITUIDS]: Remove conditional code.
6044 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6045 <kernel-features.h>.
6046 [__ASSUME_32BITUIDS]: Make code unconditional.
6047 [!__ASSUME_32BITUIDS]: Remove conditional code.
6048 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6049 <kernel-features.h>.
6050 [__ASSUME_32BITUIDS]: Make code unconditional.
6051 [!__ASSUME_32BITUIDS]: Remove conditional code.
6052
a386f1cc
RH
60532012-05-25 Richard Henderson <rth@twiddle.net>
6054
6055 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6056 dl_hwcap to ifunc resolver.
6057 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6058 elf_ifunc_invoke.
6059 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6060 dl_hwcap to ifunc resolver.
6061 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6062
b6550497
JM
60632012-05-24 Joseph Myers <joseph@codesourcery.com>
6064
6065 [BZ #14153]
6066 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6067 for |x| <= 2**-26, not 2**-57.
6068 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6069 exception.
6070
b0bc23a1
JL
60712012-05-24 Jeff Law <law@redhat.com>
6072
6073 * stdio-common/Makefile (tests): Add bug25.
6074 * stdio-common/bug25.c: New test.
6075
347c92e9
L
60762012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6077
6078 [BZ #13576]
6079 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6080 multiple of MALLOC_ALIGNMENT in size.
6081 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6082
6bcc8b3f
JM
60832012-05-24 Joseph Myers <joseph@codesourcery.com>
6084
6085 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6086 Require >= 256.
6087 (FILENAME_MAX): Use macro-int-constant.
6088 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6089 (_IOFBF): Use macro-int-constant.
6090 (_IOLBF): Likewise.
6091 (_IONBF): Likewise.
6092 (SEEK_CUR): Likewise.
6093 (SEEK_END): Likewise.
6094 (SEEK_SET): Likewise.
6095 (TMP_MAX): Likewise.
6096 (EOF): Use macro-int-constant. Require < 0.
6097 (NULL): Use macro-constant. Require == 0.
6098 (stdin): Require type to be FILE *.
6099 (stdout): Likewise.
6100 (stderr): Likewise.
6101 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6102 macro-int-constant.
6103 (EXIT_SUCCESS): Likewise.
6104 (NULL): Use macro-constant. Require == 0.
6105 (RAND_MAX): Use macro-int-constant.
6106 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6107 [C99-based standards] (strtof): Require function.
6108 [C99-based standards] (strtold): Likewise.
6109 [C99-based standards] (strtoll): Likewise.
6110 [C99-based standards] (strtoull): Likewise.
6111 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6112 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6113 [ISO || ISO99 || ISO11] (math.h): Likewise.
6114 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6115 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6116 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6117
d18ea0c5
AS
61182012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6119
6120 [BZ #14132]
56d25bb8
AS
6121 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6122 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6123 * intl/dgettext.c (DCGETTEXT): Likewise.
6124 * intl/gettext.c (DCGETTEXT): Likewise.
6125 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6126 * posix/regex_internal.h (gettext): Likewise.
6127 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6128 Remove declaration.
6129 * include/argz.h (__argz_count_internal)
6130 (__argz_stringify_internal): Remove declaration.
6131 (__argz_count, __argz_stringify): Declare hidden proto.
6132 * intl/dcgettext.c: Remove use of INTDEF.
6133 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6134 * string/argz-stringify.c: Likewise.
6135 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6136 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6137 Declare hidden proto.
d18ea0c5
AS
6138 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6139 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6140 Declare hidden proto.
6141 * include/stdio.h (__asprintf_internal): Don't declare.
6142 (__asprintf): Don't define as macro. Declare hidden proto.
6143 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6144 (__fsetlocking): Declare hidden proto.
6145 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6146 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6147 hidden proto.
6148 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6149 (_IO_setlinebuf): Remove use of INTUSE.
6150 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6151 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6152 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6153 Remove declaration.
6154 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6155 (_IO_do_flush): Remove use of INTUSE.
6156 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6157 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6158 (_IO_adjust_column, _IO_least_wmarker)
6159 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6160 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6161 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6162 (_IO_default_doallocate, _IO_wdefault_doallocate)
6163 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6164 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6165 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6166 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6167 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6168 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6169 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6170 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6171 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6172 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6173 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6174 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6175 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6176 proto.
6177 (_IO_flush_all_internal, _IO_adjust_column_internal)
6178 (_IO_default_uflow_internal, _IO_default_finish_internal)
6179 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6180 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6181 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6182 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6183 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6184 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6185 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6186 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6187 (_IO_file_close_internal, _IO_file_close_it_internal)
6188 (_IO_file_underflow_internal, _IO_file_overflow_internal)
6189 (_IO_file_init_internal, _IO_file_attach_internal)
6190 (_IO_file_fopen_internal, _IO_file_read_internal)
6191 (_IO_file_sync_internal, _IO_file_seek_internal)
6192 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6193 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6194 (_IO_str_underflow_internal, _IO_str_overflow_internal)
6195 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6196 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6197 (_IO_list_all_internal, _IO_link_in_internal)
6198 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6199 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6200 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6201 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6202 (_IO_do_write_internal, _IO_padn_internal)
6203 (_IO_getline_info_internal, _IO_getline_internal)
6204 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6205 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
6206 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
6207 (_IO_vfscanf_internal, _IO_vfprintf_internal)
6208 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
6209 (_IO_init_internal, _IO_un_link_internal): Don't declare.
6210 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
6211 with libc_hidden_ver, remove use of INTUSE.
6212 * libio/genops.c: Likewise.
6213 * libio/freopen.c: Likewise.
6214 * libio/freopen64.c: Likewise.
6215 * libio/iofclose.c: Likewise.
6216 * libio/iofdopen.c: Likewise.
6217 * libio/iofflush.c: Likewise.
6218 * libio/iofflush_u.c: Likewise.
6219 * libio/iofgets.c: Likewise.
6220 * libio/iofgets_u.c: Likewise.
6221 * libio/iofopen.c: Likewise.
6222 * libio/iofopncook.c: Likewise.
6223 * libio/iofread.c: Likewise.
6224 * libio/iofread_u.c: Likewise.
6225 * libio/ioftell.c: Likewise.
6226 * libio/iofwrite.c: Likewise.
6227 * libio/iogetline.c: Likewise.
6228 * libio/iogets.c: Likewise.
6229 * libio/iogetwline.c: Likewise.
6230 * libio/iopadn.c: Likewise.
6231 * libio/iopopen.c: Likewise.
6232 * libio/ioseekoff.c: Likewise.
6233 * libio/ioseekpos.c: Likewise.
6234 * libio/iosetbuffer.c: Likewise.
6235 * libio/iosetvbuf.c: Likewise.
6236 * libio/ioungetc.c: Likewise.
6237 * libio/ioungetwc.c: Likewise.
6238 * libio/iovdprintf.c: Likewise.
6239 * libio/iovsprintf.c: Likewise.
6240 * libio/iovsscanf.c: Likewise.
6241 * libio/memstream.c: Likewise.
6242 * libio/obprintf.c: Likewise.
6243 * libio/oldfileops.c: Likewise.
6244 * libio/oldiofclose.c: Likewise.
6245 * libio/oldiofdopen.c: Likewise.
6246 * libio/oldiofopen.c: Likewise.
6247 * libio/oldiopopen.c: Likewise.
6248 * libio/oldstdfiles.c: Likewise.
6249 * libio/putc.c: Likewise.
6250 * libio/setbuf.c: Likewise.
6251 * libio/setlinebuf.c: Likewise.
6252 * libio/stdfiles.c: Likewise.
6253 * libio/strops.c: Likewise.
6254 * libio/vasprintf.c: Likewise.
6255 * libio/vscanf.c: Likewise.
6256 * libio/vsnprintf.c: Likewise.
6257 * libio/vswprintf.c: Likewise.
6258 * libio/wfiledoalloc.c: Likewise.
6259 * libio/wfileops.c: Likewise.
6260 * libio/wgenops.c: Likewise.
6261 * libio/wmemstream.c: Likewise.
6262 * libio/wstrops.c: Likewise.
6263 * libio/__fpurge.c: Likewise.
6264 * libio/__fsetlocking.c: Likewise.
6265 * assert/assert.c: Likewise.
6266 * debug/fgets_chk.c: Likewise.
6267 * debug/fgets_u_chk.c: Likewise.
6268 * debug/fread_chk.c: Likewise.
6269 * debug/fread_u_chk.c: Likewise.
6270 * debug/gets_chk.c: Likewise.
6271 * debug/obprintf_chk.c: Likewise.
6272 * debug/vasprintf_chk.c: Likewise.
6273 * debug/vdprintf_chk.c: Likewise.
6274 * debug/vsnprintf_chk.c: Likewise.
6275 * debug/vsprintf_chk.c: Likewise.
6276 * malloc/mtrace.c: Likewise.
6277 * misc/error.c: Likewise.
6278 * misc/syslog.c: Likewise.
6279 * stdio-common/asprintf.c: Likewise.
6280 * stdio-common/fxprintf.c: Likewise.
6281 * stdio-common/getw.c: Likewise.
6282 * stdio-common/isoc99_fscanf.c: Likewise.
6283 * stdio-common/isoc99_scanf.c: Likewise.
6284 * stdio-common/isoc99_vfscanf.c: Likewise.
6285 * stdio-common/isoc99_vscanf.c: Likewise.
6286 * stdio-common/isoc99_vsscanf.c: Likewise.
6287 * stdio-common/printf-prs.c: Likewise.
6288 * stdio-common/printf_fp.c: Likewise.
6289 * stdio-common/printf_fphex.c: Likewise.
6290 * stdio-common/printf_size.c: Likewise.
6291 * stdio-common/putw.c: Likewise.
6292 * stdio-common/scanf.c: Likewise.
6293 * stdio-common/sprintf.c: Likewise.
6294 * stdio-common/tmpfile.c: Likewise.
6295 * stdio-common/vfprintf.c: Likewise.
6296 * stdio-common/vfscanf.c: Likewise.
6297 * stdlib/strfmon_l.c: Likewise.
6298 * sunrpc/openchild.c: Likewise.
6299 * sunrpc/xdr_stdio.c: Likewise.
6300 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6301 * sysdeps/mach/hurd/tmpfile.c: Likewise.
6302
d6c33fda
RM
63032012-05-24 Roland McGrath <roland@hack.frob.com>
6304
c1487492
RM
6305 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6306
6307 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
6308 in the third column, to generate for the shared library an IFUNC
6309 that uses _dl_vdso_vsym.
6310 * Makerules (COMPILE.c, compile-stdin.c): New variables.
6311 * Makeconfig (object-suffixes-noshared): New variable.
6312
6313 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
6314 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
6315 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
6316 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
6317
d6c33fda
RM
6318 [BZ #14132]
6319 * include/sys/time.h (__gettimeofday): Remove macro.
6320 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
6321 * time/gettimeofday.c (__gettimeofday): Remove #undef.
6322 Remove INTDEF.
6323 (__gettimeofday): Add libc_hidden_def.
6324 (gettimeofday): Add libc_hidden_weak.
6325 * sysdeps/mach/gettimeofday.c: Likewise.
6326 * sysdeps/posix/gettimeofday.c: Likewise.
6327 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6328 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6329 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
6330 (__gettimeofday_internal): Remove strong_alias.
6331 (__gettimeofday): Add libc_hidden_def.
6332 (gettimeofday): Add libc_hidden_weak.
6333 * sysdeps/unix/syscalls.list (gettimeofday):
6334 Remove __gettimeofday_internal alias.
6335
b5a2bbe6
L
63362012-05-24 Daniel Jacobowitz <drow@false.org>
6337 H.J. Lu <hongjiu.lu@intel.com>
6338
6339 [BZ #12495]
6340 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
6341 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
6342 (largebin_index_32_big): New.
6343 (largebin_index): Use it for 16-byte alignment.
6344 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
6345 correction with front_misalign.
6346
cfba4fda
L
63472012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6348
7f907421
L
6349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
6350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6351 Likewise.
6352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
6353 Likewise.
6354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6355 Likewise.
6356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
6357 Likewise.
6358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
6359 Likewise.
6360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
6361 Likewise.
6362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
6363 Likewise.
6364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6365 Likewise.
6366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
6367 Likewise.
6368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
6369 Likewise.
6370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6371 Likewise.
6372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
6373 Likewise.
6374
cfba4fda
L
6375 * scripts/data/c++-types-x32-linux-gnu.data: New file.
6376 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
6377
80bad0cc
JM
63782012-05-24 Joseph Myers <joseph@codesourcery.com>
6379
7a25eb06
JM
6380 [BZ #10846]
6381 [BZ #14036]
6382 * math/libm-test.inc (exp_test): Add test from bug 14036.
6383 (pow_test): Add test from bug 10846.
6384
795405f9
JM
6385 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
6386 and other flags.
6387 (special_function): Do not include flags in test name.
6388 (parse_args): Likewise.
6389 * sysdeps/i386/fpu/libm-test-ulps: Update.
6390 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6391 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6392 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6394
80bad0cc
JM
6395 * math/gen-libm-test.pl (%beautify): Add entries for underflow
6396 exceptions.
6397 * math/libm-test.inc ("Philosophy"): Update comment about
6398 exception testing.
6399 (UNDERFLOW_EXCEPTION): New macro.
6400 (UNDERFLOW_EXCEPTION_OK): Likewise.
6401 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6402 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6403 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6404 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6405 (INVALID_EXCEPTION_OK): Update value.
6406 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6407 (OVERFLOW_EXCEPTION_OK): Likewise.
6408 (IGNORE_ZERO_INF_SIGN): Likewise.
6409 (test_exceptions): Handle underflow exceptions.
6410 (acos_test): Update for underflow exception expectations.
6411 (cexp_test): Likewise.
6412 (clog_test): Likewise.
6413 (clog10_test): Likewise.
6414 (csqrt_test): Likewise.
6415 (ctan_test): Likewise.
6416 (ctanh_test): Likewise.
6417 (exp_test): Likewise.
6418 (exp10_test): Likewise.
6419 (exp2_test): Likewise.
6420 (expm1_test): Likewise.
6421 (fma_test): Likewise.
6422 (j0_test): Likewise.
6423 (jn_test): Likewise.
6424 (nexttoward_test): Likewise.
6425 (pow_test): Likewise.
6426 (scalbn_test): Likewise.
6427 (scalbln_test): Likewise.
6428 (tan_test): Likewise.
6429 (y1_test): Likewise.
6430 * sysdeps/i386/fpu/libm-test-ulps: Update.
6431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6432
9e0e3d0b
DM
64332012-05-23 David S. Miller <davem@davemloft.net>
6434
6435 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6436 (__libc_sigaction): Remove unused local variables.
6437
ccd0a08f
L
64382012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6439
6440 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
6441
62bdf9a6
PE
64422012-05-23 Paul Eggert <eggert@cs.ucla.edu>
6443
f8591f80
PE
6444 mktime: avoid signed integer overflow
6445 * time/mktime.c (__mktime_internal): Do not mishandle the case
6446 where diff == INT_MIN.
6447
94c7d826
PE
6448 mktime: simplify computation of average
6449 * time/mktime.c (ranged_convert): Use new time_t_avg function
6450 instead of rolling our own (probably-slower) code.
6451
ce73d683
PE
6452 mktime: do not assume signed right shift propagates sign bit
6453 * time/mktime.c (isdst_differ): New static function.
6454 (__mktime_internal): No need to normalize tm_isdst now.
6455 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
6456 tm_isdst values.
6457
72a22e59
PE
6458 mktime: merge another wrapv change from gnulib
6459 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
6460 from some compilers.
6461
68605433
PE
6462 mktime: remove incorrect attempt at unusual arithmetics
6463 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
6464 The code didn't really work on such machines anyway.
6465 (TYPE_MINIMUM): Assume two's complement.
6466 (twos_complement_arithmetic): Verify that long_int and time_t
6467 are two's complement (or unsigned, in the latter case).
6468
03cf7fe3
PE
6469 mktime: check signed shifts on long_int and time_t, too
6470 * time/mktime.c (SHR): Check that shifts work as desired
6471 on the types long_int and time_t too, as SHR is used on
6472 such types.
6473
f04dfbc2
PE
6474 mktime: do not assume 'long' is wide enough
6475 * time/mktime.c (verify): Move decl up.
6476 (long_int): New type.
6477 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
6478 to remove assumption in the code that 'long' is wide enough to
6479 store year values. This assumption is not true on x32 and on
6480 some non-glibc platforms.
6481
62bdf9a6
PE
6482 mktime: merge wrapv change from gnulib
6483 * time/mktime.c (WRAPV): New macro.
6484 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
6485 (guess_time_tm, __mktime_internal): Do not assume that signed
6486 integer overflow wraps around; modern compilers generate code
6487 where this assumption is no longer valid.
6488
5e292e4f
L
64892012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6490
6491 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6492 Replace "jmp L(pseudo_end)" with "ret".
6493 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
6494 Likewise.
6495
8caf8c87
AJ
64962012-05-23 Andreas Jaeger <aj@suse.de>
6497
6498 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
6499 * sysdeps/unix/sysv/linux/poll.c: Remove file.
6500
1a09dc56
AJ
65012012-05-23 Andreas Jaeger <aj@suse.de>
6502 Maximilian Attems <max@stro.at>
6503
6504 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
6505 New macros.
6506
1c87aba0
L
65072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6508
6509 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
6510 code so that pseudo_end is just ret and the stack pointer is
6511 correct also for static library in error case.
6512
40e45bd5
JM
65132012-05-23 Joseph Myers <joseph@codesourcery.com>
6514
c2670533
JM
6515 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
6516 move to syscalls.list.
6517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6521
40e45bd5
JM
6522 * manual/install.texi (Running make install): Do not mention Linux
6523 kernel version for which pt_chown is not needed.
6524 (Linux): Do not mention problems with nscd with 2.0 kernels.
6525 * INSTALL: Regenerated.
6526
be08eda5
AJ
65272012-05-23 Andreas Jaeger <aj@suse.de>
6528
6529 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
6530 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
6531 macro.
6532 * sysdeps/unix/sysv/linux/s390/bits/mman.h
6533 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6534 * sysdeps/unix/sysv/linux/sh/bits/mman.h
6535 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6536 * sysdeps/unix/sysv/linux/i386/bits/mman.h
6537 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6538 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
6539 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6540 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
6541 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6542 * sysdeps/unix/sysv/linux/bits/in.h
6543 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
6544
a6a056bb
RM
65452012-05-22 Roland McGrath <roland@hack.frob.com>
6546
6547 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
6548 (PREPARE_VERSION): Just use assert instead, it will be elided
6549 under [NDEBUG] anyway.
6550
c9009328
L
65512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6552
6553 * sysdeps/unix/sysv/linux/Makefile: Include
6554 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 6555 (sysdep_routines): Remove sysctl.
c9009328
L
6556 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
6557 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
6558 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
6559 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
6560 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
6561
73338355
AJ
65622012-05-22 Andreas Jaeger <aj@suse.de>
6563
6564 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
6565 that pseudo_end is just ret and the stack pointer is correct also
6566 for static library in error case.
6567
d44638b0
PP
65682012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
6569
6570 [BZ #14122]
6571 * nss/nsswitch.c (defconfig_entries): New variable.
6572 (__nss_database_lookup): Don't leak defconfig entries.
6573 (nss_parse_service_list): Don't leak on error paths.
6574 (free_database_entries): New function.
6575 (free_defconfig): New function.
6576 (free_mem): Move common code to free_database_entries.
6577
31a39bd8
L
65782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6579
da0331a8
L
6580 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
6581 Add arch_prctl.
6582 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
6583
31a39bd8
L
6584 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6585 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
6586 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
6587 New macro.
6588 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6589 (INTERNAL_SYSCALL_TYPES): Likewise.
6590 (LOAD_ARGS_TYPES_[1-6]): Likewise.
6591 (LOAD_REGS_TYPES_[1-6]): Likewise.
6592 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
6593 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
6594
45470df3
AZ
65952012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6596
6597 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
6598 copysignl for GLIBC_2_0.
6599 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
6600 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
6601 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
6602 logbl for GLIBC_2_0.
6603 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6604 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6605
98a61bcb
L
66062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6607
a4f6e481
L
6608 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
6609 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6610
f63d5db6
L
6611 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6612 Use "neg %eax".
6613
98a61bcb
L
6614 * time/mktime.c: Update copyright years.
6615
95770f14
PE
66162012-05-22 Paul Eggert <eggert@cs.ucla.edu>
6617
6226efbd
PE
6618 mktime: merge comment-quoting-style change from gnulib
6619 * time/mktime.c: Quote 'like this' in comments.
6620 The GNU coding standards suggest that we no longer quote `like this',
6621 as "`" and "'" are typically rendered asymmetrically nowadays.
6622 The typical gnulib style is to quote 'like this' when quoting
6623 code, and "like this" when quoting English.
6624
b99e4f78
PE
6625 * time/mktime.c (compile-command): Add "-I.".
6626
643e01e6
PE
6627 mktime: merge mktime-internal.h change from gnulib
6628 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
6629
2554247d
PE
6630 mktime: merge time_r change from gnulib
6631 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
6632
826dd0ab
PE
6633 mktime: merge DEBUG change from gnulib
6634 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
6635 case system <time.h> has a #define.
6636
bd83aabe
PE
6637 mktime: merge <sys/types.h> change from gnulib
6638 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
6639 since <time.t> is now guaranteed to define time_t.
6640
95770f14
PE
6641 mktime: merge HAVE_CONFIG_H change from gnulib
6642 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
6643
5e1a27a9
L
66442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6645
0e44a77e
L
6646 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6647 Use "neg %eax".
6648
5e1a27a9
L
6649 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
6650 __rlim_t cast.
6651 (struct rusage): Use anonymous union to pad each field to
6652 __syscall_slong_t.
6653
46259bec
DM
66542012-05-21 David S. Miller <davem@davemloft.net>
6655
6656 * Makefules (o-iterator): Remove .s cases.
6657 (compile-command.s): Delete.
6658 (COMPILE.s): Delete.
6659 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
6660
59f0c22e
JM
66612012-05-21 Joseph Myers <joseph@codesourcery.com>
6662
6663 * configure.in (libc_cv_predef_stack_protector): Only consider
6664 "foobar" and "__stack_chk_fail" lines in libc_undefs.
6665 * configure: Regenerated.
6666
20c07380
L
66672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6668
bbb3154b
L
6669 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6670 New macro. Use R*LP on int and pointer.
6671 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
6672 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6673 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
6674 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6675
20c07380
L
6676 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6677 [__WORDSIZE_TIME64_COMPAT32] instead of
6678 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6679 (struct utmp): Likewise.
6680 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6681 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6682 Renamed to ...
6683 (__WORDSIZE_TIME64_COMPAT32): This.
6684 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6685 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6686 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6687 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6688 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6689 (__WORDSIZE_TIME64_COMPAT32): New macro.
6690
d8d1017e
AJ
66912012-05-21 Andreas Jaeger <aj@suse.de>
6692
6693 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6694 only if [SHARED]. Add prototype for __wcschr_ia32.
6695
6c7fb145
RM
66962012-05-21 Roland McGrath <roland@hack.frob.com>
6697
6698 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6699 of %rbp unmolested in the jmp_buf while mangling the low bits.
6700 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6701 unmolested high bits of %rbp while demangling the low bits.
6702 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6703
66274218
AJ
67042012-05-21 Andreas Jaeger <aj@suse.de>
6705
07c58f8f
AJ
6706 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6707 * sunrpc/svc_simple.c: Use it for registerrpc.
6708 * sunrpc/xcrypt.c: Use it for passwd2des.
6709
66274218
AJ
6710 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6711
61f65140
L
67122012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6713
6714 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6715 Don't define if [__SYSCALL_WORDSIZE != 32].
6716 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6717 New macro.
6718
5fefb436
AJ
67192012-05-21 Bruno Haible <bruno@clisp.org>
6720 Andreas Jaeger <aj@suse.de>
6721
6722 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6723 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6724 inptr and inend for must_buffer_ch.
6725 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6726 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6727 * stdio-common/Makefile (tests): Remove bug15.
6728 (bug15-ENV): Remove macro.
6729 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6730 anymore.
6731
d8e272ab
AJ
67322012-05-19 Andreas Jaeger <aj@suse.de>
6733 Roland McGrath <roland@hack.frob.com>
6734
6735 * manual/contrib.texi: Completely rewritten. It contains now an
6736 alphabetical list of contributors and their contributions.
6737
4a56a162
RH
67382012-05-21 Richard Henderson <rth@twiddle.net>
6739
6740 * misc/getauxval.c (__getauxval): Use unsigned long int.
6741 * misc/sys/auxv.h: Include <sys/cdefs.h>.
6742 (getauxval): Use unsigned long int.
6743
d024d23c
L
67442012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6745
6746 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6747
cbc00a03
RM
67482012-05-21 Roland McGrath <roland@hack.frob.com>
6749
6750 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6751 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6752 __alignof__ (long double).
6753
478143fa
AZ
67542012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6755
6756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6757
c7683a6d
RH
67582012-05-20 Richard Henderson <rth@twiddle.net>
6759
6760 * misc/getauxval.c: New file.
6761 * misc/sys/auxv.h: New file.
6762 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6763 (routines): Add getauxval.
6764 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6765 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6766 * elf/dl-sysdep.c (_dl_auxv): Remove.
6767 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6768 * elf/dl-support.c (_dl_auxv): New variable.
6769 (_dl_aux_init): Initialize it.
6770 * manual/startup.texi (Auxiliary Vector): New node.
6771 * sysdeps/generic/bits/hwcap.h: New file.
6772 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6773 * sysdeps/powerpc/sysdep.h: ... here. Include it.
6774 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6775 * sysdeps/sparc/sysdep.h: ... here. Include it.
6776 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6777 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
6778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6779 Update.
c7683a6d
RH
6780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6783 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6788
a6f1845d
AZ
67892012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6790
6791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6792
cbcbe830
DM
67932012-05-19 David S. Miller <davem@davemloft.net>
6794
6795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6796
e0b16cc2
JM
67972012-05-19 Joseph Myers <joseph@codesourcery.com>
6798
6799 [BZ #14123]
6800 * math/s_ccosh.c: Include <float.h>
6801 (__ccosh): Avoid internal overflow calculating sinh and cosh
6802 values before multiplying by sin and cos values.
6803 * math/s_ccoshf.c: Likewise.
6804 * math/s_ccoshl.c: Likewise.
6805 * math/s_csin.c: Likewise.
6806 * math/s_csinf.c: Likewise.
6807 * math/s_csinl.c: Likewise.
6808 * math/s_csinh.c: Likewise.
6809 * math/s_csinhf.c: Likewise.
6810 * math/s_csinhl.c: Likewise.
6811 * math/libm-test.inc (ccos_test): Add more tests.
6812 (ccosh_test): Likewise.
6813 (csin_test): Likewise.
6814 (csinh_test): Likewise.
6815 * sysdeps/i386/fpu/libm-test-ulps: Update.
6816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6817
6ad13e08
L
68182012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6819
f66f0ce8
L
6820 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6821 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6822
6ad13e08
L
6823 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6824
b1d072a7
JM
68252012-05-19 Joseph Myers <joseph@codesourcery.com>
6826
6827 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6828 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6829 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6830 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6831 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6832 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6833 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6834 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6835 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6836 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6837 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6838 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6839 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6840 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6841 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6842 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6843 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6844 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6845 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6846 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6847 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6848 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6849 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6850 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6851 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6852 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6853 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6854 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6855 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6856 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6857 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6858
9eae47cb
AJ
68592012-05-18 Andreas Jaeger <aj@suse.de>
6860
6861 * csu/.gitignore: Delete.
6862
bb07f69f
L
68632012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6864
6865 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6866 (timex): Use __syscall_slong_t.
6867
e6bdb741
AJ
68682012-05-18 Andreas Jaeger <aj@suse.de>
6869 Carlos O'Donell <carlos_odonell@mentor.com>
6870
6871 * manual/install.texi (Configuring and compiling): Update
6872 description about files modified in the source directory.
d6c33fda 6873 * INSTALL: Regenerated.
e6bdb741 6874
1b74487e
L
68752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6876
6877 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6878 value. Use "or" to set return value to -1.
6879 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6880 negate return value.
6881
a88b64b9
TMQMF
68822012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6883
6884 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6885 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6886 failure if the compiler has Graphite support disabled.
6887 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6888 Likewise.
6889 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6890 CFLAGS-memmove.c): Likewise.
6891 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6892 Likewise.
6893
3707636e
L
68942012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6895
610b8622
L
6896 * sysdeps/x86_64/x32/_itoa.h: New file.
6897
7cd195df
L
6898 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6899 getdents system call only if kernel and user dirents have the
6900 same d_ino and d_off.
6901
94b07d20
L
6902 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6903 LLONG_MAX != LONG_MAX.
6904 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6905 (_fitoa_word): Likewise.
6906
18298070
L
6907 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6908 years.
6909 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6910 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6911 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6912
553c7ea4
L
6913 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6914 include <bits/wordsize.h>. Check __x86_64__ instead of
6915 __WORDSIZE.
6916 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6917 if __x86_64__ is defined. Use anonymous union on fpstate.
6918
3707636e
L
6919 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6920 anonymous union.
6921
b53ef01a
AS
69222012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6923
37fb1dc0
AS
6924 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6925 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6926 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6927 Refer to _rtld_local_ro instead of _rtld_global_ro.
6928 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6929 Likewise.
6930 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6931 Likewise.
6932 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6933 Likewise.
6934 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6935 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6936 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6937
b53ef01a
AS
6938 * sysdeps/powerpc/powerpc32/dl-machine.c
6939 (__elf_machine_runtime_setup) [PROF]: Don't reference
6940 _dl_prof_resolve.
6941
7a185db2
AJ
69422012-05-18 Andreas Jaeger <aj@suse.de>
6943
6944 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6945 function only available for GCCs before 3.4 since GCC 3.4
6946 introduced a builtin.
6947 (lrint): Likewise.
6948 (llrintf): Likewise.
6949 (llrint): Likewise.
6950 (fmaxf): Likewise.
6951 (fmax): Likewise.
6952 (fminf): Likewise.
6953 (fmin): Likewise.
6954 (rint): Likewise.
6955 (rintf): Likewise.
6956 (nearbyint): Likewise.
6957 (nearbyintf): Likewise.
6958 (ceil): Likewise.
6959 (ceilf): Likewise.
6960 (floor): Likewise.
6961 (floorf): Likewise.
6962
3e5aef87
L
69632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6964
428bd707
L
6965 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6966 on both fields and cast pointer to __syscall_ulong_t.
6967
3e5aef87
L
6968 * bits/types.h (__fsword_t): New type.
6969 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6970 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6971 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6972 (__FSWORD_T_TYPE): Likewise.
6973 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6974 (__FSWORD_T_TYPE): Likewise.
6975 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6976 (__FSWORD_T_TYPE): Likewise.
6977 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6978 (__FSWORD_T_TYPE): Likewise.
6979 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6980 __SWORD_TYPE with __fsword_t.
6981 (statfs64): Likewise.
6982
1ba7c3dc
DM
69832012-05-17 David S. Miller <davem@davemloft.net>
6984
6985 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6986
59910343
AJ
69872012-05-17 Andreas Jaeger <aj@suse.de>
6988
6989 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6990 warning.
6991
2e4c1e9e
L
69922012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6993
6994 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6995
de7f5ce7
AJ
69962012-05-17 Andreas Jaeger <aj@suse.de>
6997
6998 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6999 when it is used.
7000
286abc3d
CM
70012012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7002
7003 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7004
477cc68e
L
70052012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7006
7007 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7008 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7009
1a0994f5
CD
70102012-05-17 Andreas Jaeger <aj@suse.de>
7011 Carlos O'Donell <carlos_odonell@mentor.com>
7012
7013 [BZ #14059]
7014 * sysdeps/x86_64/multiarch/init-arch.h
7015 (bit_YMM_Usable): Rename to...
7016 (bit_AVX_Usable): ... this.
7017 (bit_FMA4_Usable): New macro.
7018 (bit_XMM_state): New macro.
7019 (bit_YMM_state): New macro.
7020 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7021 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7022 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7023 (CPUID_OSXSAVE): New macro.
7024 (CPUID_AVX): New macro.
7025 (CPUID_FMA4): New macro.
7026 (index_YMM_Usable): Rename to...
7027 (index_AVX_Usable): ... this.
7028 (HAS_AVX): Use HAS_ARCH_FEATURE.
7029 (HAS_FMA4): Likewise.
7030 (HAS_YMM_USABLE): Remove.
7031 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7032 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7033 are present.
7034 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7035 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7036 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7037 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7038 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7039
0af797de
CM
70402012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7041
7042 * math/libm-test.c: Support platforms without multiple rounding modes.
7043 * math/bug-nextafter.c: Support platforms without FP exceptions.
7044 * math/bug-nexttoward.c: Likewise.
7045 * math/test-fenv.c: Likewise.
7046 * math/test-misc.c: Likewise.
7047 * stdlib/bug-getcontext.c: Likewise.
7048
e39745ff
AJ
70492012-05-17 Andreas Jaeger <aj@suse.de>
7050
7051 * manual/examples/search.c (critter_cmp): Change signature to
7052 avoid warnings.
7053 * manual/string.texi (Collation Functions): Likewise.
7054
48970aba
L
70552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7056
7057 * bits/types.h: Fold copyright years.
7058 * bits/typesizes.h: Likewise.
7059 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7060 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7061 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7062 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7063 * time/time.h: Likewise.
7064
bedee953
PP
70652012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7066
7067 [BZ #208]
7068 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7069 in instead of returning them. Return void.
7070 (__libc_mallinfo): Accumulate over all arenas.
7071 (__malloc_stats): Adjust for change in int_mallinfo interface.
7072
61653dfb
RM
70732012-05-16 Roland McGrath <roland@hack.frob.com>
7074
30b99d79
RM
7075 [BZ #10375]
7076 * configure.in (NM): Add AC_CHECK_TOOL for it.
7077 (libc_extra_cflags): New substituted variable.
7078 Check for -fstack-protector being used implicitly.
7079 * configure: Regenerated.
7080 * config.make.in (config-extra-cflags): New variable,
7081 gets @libc_extra_cflags@.
7082 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7083
61653dfb
RM
7084 [BZ #10375]
7085 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7086 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7087 * configure: Regenerated.
7088 * config.make.in (CPPUNDEFS): New substituted variable.
7089 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7090 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7091 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7092
661768bb
L
70932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7094
7095 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7096 (mq_attr): Use __syscall_slong_t.
7097
d4261567
L
70982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7099
7100 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7101 Check __x86_64__ instead of __WORDSIZE.
7102 (_STAT_VER_LINUX): Likewise.
7103 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7104 __syscall_ulong_t and __syscall_slong_t.
7105 (stat64): Likewise.
7106
cf3ff365
L
71072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7108
7109 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7110
76cf3e4d
L
71112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7112
7113 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7114
a637753a
L
71152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7116
7117 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7118 __syscall_ulong_t.
7119
d5e05119
L
7120 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7121 include <bits/wordsize.h>. Check __x86_64__ instead of
7122 __WORDSIZE.
7123 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7124 defined.
7125 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7126
f62ee380
L
7127 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7128 include <bits/wordsize.h>. Check __x86_64__ instead of
7129 __WORDSIZE.
7130 (user_regs_struct): Use "__extension__ unsigned long long"
7131 instead of "unsigned long" if __x86_64__ is defined.
7132 (user): Likewise. Pad after pointer field if __ILP32__ is
7133 defined.
7134
4e124ced
JM
71352012-05-16 Joseph Myers <joseph@codesourcery.com>
7136
6a3951a0
JM
7137 * configure.in (makeinfo): Require version 4.5 or later. Allow
7138 versions 5 to 9.
7139 * configure: Regenerated.
7140 * manual/install.texi (texinfo): Increase version requirement to
7141 4.5 or later.
7142 * INSTALL: Regenerated.
7143
4e124ced
JM
7144 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7145
953ca31a
L
71462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7147
7148 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7149
617aca05
L
7150 * sysdeps/x86_64/x32/ffs.c: New file.
7151
5762f7ae
L
7152 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7153 __syscall_ulong_t.
7154 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7155 defined. Use __syscall_ulong_t.
7156 (shminfo): Use __syscall_ulong_t.
7157 (shm_info): Likewise.
7158
a26b6856
L
7159 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7160 __syscall_ulong_t.
7161
cb2b9ef7
L
7162 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7163 <bits/wordsize.h>.
7164 (msgqnum_t): Use __syscall_ulong_t.
7165 (msglen_t): Likewise.
7166 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
7167 __syscall_ulong_t.
7168
34683bb0
L
7169 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7170 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7171
84a68786
L
7172 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7173
48baa5f1
L
7174 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7175 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7176
180be88b
L
7177 * sysvipc/sys/msg.h (msgbuf): Replace long int with
7178 __syscall_slong_t.
7179
5e90c8ad
L
7180 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7181 include <bits/wordsize.h>. Check __x86_64__ instead of
7182 __WORDSIZE.
7183
23dfb58b
L
7184 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7185 "unsigned long long int" if __x86_64__ is defined.
7186 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7187
ce5d54b0
L
7188 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7189 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7190 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7191
13dc9eac
L
7192 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7193 <stdint.h>.
7194 (GET_PC): Cast to uintptr_t first.
7195 (GET_FRAME): Likewise.
7196 (GET_STACK): Likewise.
7197
a7895d15
L
7198 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7199 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7200 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7201 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7202 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7203 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7204 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7205 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
7206 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7207 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
7208 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
7209 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
7210 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7211 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
7212 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
7213 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
7214 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
7215 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
7216 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
7217 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
7218 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
7219 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
7220 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
7221 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
7222 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
7223 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
7224 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
7225 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
7226 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
7227
656416c9
AS
72282012-05-16 Andreas Schwab <schwab@linux-m68k.org>
7229
5bd66283
AS
7230 * Makerules (+depfiles): Also collect depfiles from .oS in
7231 $(extra-objs).
7232 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
7233 .oS, $(libnldbl-routines)).
7234
656416c9
AS
7235 * Makerules (native-compile-mkdep-flags): Define.
7236 * sunrpc/Makefile (extra-objs): Add $(addprefix
7237 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
7238 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
7239 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
7240 calling $(make-target-directory).
7241
a46f2169
L
72422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7243
7244 * bits/types.h (__snseconds_t): Removed.
7245 * time/time.h (struct timespec): Replace __snseconds_t with
7246 __syscall_slong_t.
7247 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
7248 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
7249 Likewise.
7250 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7251 (__SNSECONDS_T_TYPE): Likewise.
7252 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7253 (__SNSECONDS_T_TYPE): Likewise.
7254 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7255 (__SNSECONDS_T_TYPE): Likewise.
7256
6af6528b
L
72572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7258
7259 * sysdeps/mach/hurd/bits/typesizes.h
7260 (__SYSCALL_SLONG_TYPE): New macro.
7261 (__SYSCALL_ULONG_TYPE): Likewise.
7262
de986b56
L
72632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7264
7265 * bits/types.h (__syscall_slong_t): New type.
7266 (__syscall_ulong_t): Likewise.
7267
7268 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
7269 (__SYSCALL_ULONG_TYPE): Likewise.
7270 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7271 (__SYSCALL_SLONG_TYPE): Likewise.
7272 (__SYSCALL_ULONG_TYPE): Likewise.
7273 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7274 (__SYSCALL_SLONG_TYPE): Likewise.
7275 (__SYSCALL_ULONG_TYPE): Likewise.
7276 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7277 (__SYSCALL_SLONG_TYPE): Likewise.
7278 (__SYSCALL_ULONG_TYPE): Likewise.
7279
85736dc7
L
72802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7281
7282 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
7283 Add sigaltstack-offsets.sym.
7284 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7285 <sigaltstack-offsets.h>.
7286 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
7287 longjmp_msg pointer.
7288 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
7289 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
7290 signal stack.
7291 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
7292
cc03b296
JM
72932012-05-15 Joseph Myers <joseph@codesourcery.com>
7294
a9538892
JM
7295 * elf/stackguard-macros.h: Remove file.
7296 * sysdeps/generic/stackguard-macros.h: New file.
7297 * sysdeps/i386/stackguard-macros.h: Likewise.
7298 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7299 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7300 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7301 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7302 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7303 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7304 * sysdeps/x86_64/stackguard-macros.h: Likewise.
7305 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
7306 <elf/stackguard-macros.h>.
7307
cc03b296
JM
7308 [BZ #14109]
7309 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
7310 __aligned__ in attribute.
7311 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
7312 (gregset_t): Likewise.
7313
93171016
L
73142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7315
7316 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
7317 * sysdeps/x86_64/64/Implies-after: Here. New file.
7318 * sysdeps/x86_64/x32/Implies-after: New file.
7319
d86813a0
L
73202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7321
7322 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
7323 and access return value for _dl_profile_fixup. Use R10_LP to
7324 load frame size.
7325
2953ec75
L
73262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7327
7328 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
7329
3b550e9e
L
73302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7331
7332 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
7333 * sysdeps/x86_64/x32/sysdep.h: New file.
7334
eda41706
L
73352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7336
7337 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
7338 * sysdeps/x86_64/setjmp.S: Likewise.
7339
9ea01d93
AZ
73402012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7341
7342 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
7343 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
7344 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
7345 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
7346 remove unused global constant.
7347
02a91938
CM
73482012-05-15 Chris Metcalf <cmetcalf@tilera.com>
7349
7350 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
7351 include of <not-cancel.h>.
7352
6540185f
RM
73532012-05-15 Roland McGrath <roland@hack.frob.com>
7354
7355 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
7356
509072a0
AJ
73572012-05-15 Jeff Law <law@redhat.com>
7358 Andreas Jaeger <aj@suse.de>
7359
7360 [BZ #13594]
7361 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
7362 out from...
7363 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
7364 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
7365 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
7366 code changing __hst_map_handle.map.
7367
ba75122d
RM
73682012-05-15 Roland McGrath <roland@hack.frob.com>
7369
7370 * configure.in (sysnames): Look for Implies-before and Implies-after
7371 files.
7372 * configure: Regenerated.
7373
890d8bd8
L
73742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7375
7376 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
7377 8-byte data alignment with LP_SIZE alignment.
7378
f6ee6623
L
73792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7380
7381 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
7382 into R10_LP.
7383
ea2626f6
L
73842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7385
7386 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
7387
085f715e
L
73882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7389
7390 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
7391 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
7392 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
7393 Likewise.
7394 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7395
be8498fc
L
73962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7397
7398 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
7399 (stackinfo_sub_sp): Likewise.
7400
70bc83b9
L
74012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7402
7403 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
7404 RAX_LP.
7405
9bc0b730
L
74062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7407
7408 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
7409 into R*_LP.
7410
6d2850e7
L
74112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7412
7413 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
7414 sizes into R*_LP.
7415
3cb84561
L
74162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7417
7418 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
7419
54e2ed81
L
74202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7421
7422 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
7423 into R11_LP and load __x86_64_shared_cache_size_half into
7424 R8_LP.
7425
8a17f349
L
74262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7427
7428 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
7429 R8_LP.
7430
777b1eea
AZ
74312012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7432
7433 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
7434 logb for POWER7.
7435 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
7436 logbf for POWER7.
7437 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
7438 logbl for POWER7.
7439 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
7440 powerpc32/power7/fpu/s_logb.c via #include.
7441 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
7442 powerpc32/power7/fpu/s_logbf.c via #include.
7443 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
7444 powerpc32/power7/fpu/s_logbl.c via #include.
7445
d20d4ac2
JM
74462012-05-15 Joseph Myers <joseph@codesourcery.com>
7447
7448 * README.libm: Remove file.
7449
6cdef1ab
L
74502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7451
7452 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
7453 count for x32. Use R*_LP and omit operand-size suffix.
7454
0b254d8f
L
74552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7456
7457 * shlib-versions: Move x86_64-.*-linux.* entries to ...
7458 * sysdeps/x86_64/64/shlib-versions: Here. New file.
7459 * sysdeps/x86_64/x32/shlib-versions: New file.
7460
ceb809dc
RM
74612012-05-14 Roland McGrath <roland@hack.frob.com>
7462
7463 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
7464 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
7465 Use _dl_fatal_printf instead.
7466
37f1abd4
JM
74672012-05-14 Joseph Myers <joseph@codesourcery.com>
7468
7469 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
7470 set if not set by the user. Do not allow for being unset.
7471 * sysdeps/unix/sysv/linux/configure: Regenerated.
7472
11de3a33
L
74732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7474
7475 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
7476 the `q' suffix from lea and replace .quad with ASM_ADDR.
7477
e02f153a
L
74782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7479
7480 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
7481 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
7482 instead of $17.
7483 (PTR_DEMANGLE): Likewise.
7484
520ae0fd
L
74852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7486
7487 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
7488 (LP_OP): Likewise.
7489 (ASM_ADDR): Likewise.
7490 (RAX_LP): Likewise.
7491 (RBP_LP): Likewise.
7492 (RBX_LP): Likewise.
7493 (RCX_LP): Likewise.
7494 (RDI_LP): Likewise.
7495 (RSI_LP): Likewise.
7496 (RSP_LP): Likewise.
7497 (R8_LP): Likewise.
7498 (R9_LP): Likewise.
7499 (R10_LP): Likewise.
7500 (R10_LP): Likewise.
7501 (R11_LP): Likewise.
7502 (R12_LP): Likewise.
7503 (R13_LP): Likewise.
7504 (R14_LP): Likewise.
7505 (R15_LP): Likewise.
7506
b985be81
L
75072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7508
7509 * sysdeps/x86_64/x32/dl-machine.h: New file.
7510
6a4888ff
AJ
75112012-05-14 Andreas Jaeger <aj@suse.de>
7512
7513 * manual/Makefile (subdir): Remove export of subdir.
7514 (all): Remove target.
7515 (.PHONY): Remove all from list.
7516 (mkinstalldirs): Remove.
7517 (.PHONY): Remove installdirs from list.
7518 ($(inst_infodir)/libc.info): Use make-target-directory.
7519 (installdirs): Remove.
7520 (subdir_%): Remove.
7521 (glibc-targets): Remove.
7522 (lib): Remove.
7523 (stubs): Remove.
7524 ($(objpfx)stubs ../po/manual.pot): Remove.
7525 ($(objpfx)stamp%): Remove.
7526 (make-target-directory): Remove.
7527 (subdir_install): Remove.
7528 (routines): Remove.
7529 (aux): Remove.
7530 (sources): Remove.
7531 (objects): Remove.
7532 (headers): Remove.
7533
7534 [BZ #13750]
7535 * manual/.gitignore: Remove, it's not needed anymore.
7536 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
7537 all files in it.
7538 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
7539 directory.
7540 (texis): Renamed to $(objpfx)texis.
7541 (texis-path): New, contains path to generated files.
7542 (chapters.%): Use texis-path for complete path, add extra argument
7543 libc-texinfo.sh.
7544 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
7545 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
7546 (summary,texi, stamp-summary): Use complete path of
7547 files. Generate files in build dir.
7548 (dir-add.texi): Build in build dir.
7549 (libm-err.texi,stamp-libm-err): Likewise.
7550 (version.texi, stamp-version): Likewise.
7551 (.%c.texi): Likewise.
7552 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
7553 (mostlyclean): Remove target.
7554 (realclean): Remove target.
7555 (generated): Add new variable with contents from mostlyclean and
7556 realclean, remove entries duplicated in common-mostlyclean, add
7557 stamp-libm-err and stamp-version.
7558 (generated-dirs): Add libc directory.
7559 ($(inst_infodir)/libc.info): Install files from build dir.
7560
7561 * manual/install.texi (Configuring and compiling): Adjust since
7562 the info files are not part of the tar ball anymore.
7563
7ac77294
AJ
75642012-05-14 Andreas Jaeger <aj@suse.de>
7565
7566 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
7567 variable.
7568
ffb7875d
JM
75692012-05-14 Joseph Myers <joseph@codesourcery.com>
7570
7571 [BZ #13717]
7572 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7573 to 2.2.0 where earlier.
7574 * sysdeps/unix/sysv/linux/configure: Regenerated.
7575 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
7576 Remove conditional code.
7577 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
7578 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
7579 Remove conditional code.
7580 [!__NR_lchown]: Likewise.
7581 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7582 [__NR_lchown]: Likewise.
7583 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
7584 comment referencing __ASSUME_LCHOWN_SYSCALL.
7585 * sysdeps/unix/sysv/linux/i386/sigaction.c
7586 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7587 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7588 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
7589 Remove conditional code.
7590 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
7591 (__protocol_available): Remove #if 0 code.
7592 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
7593 conditional code.
7594 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
7595 * sysdeps/unix/sysv/linux/kernel-features.h
7596 (__ASSUME_GETCWD_SYSCALL): Don't define.
7597 (__ASSUME_REALTIME_SIGNALS): Likewise.
7598 (__ASSUME_PREAD_SYSCALL): Likewise.
7599 (__ASSUME_PWRITE_SYSCALL): Likewise.
7600 (__ASSUME_POLL_SYSCALL): Likewise.
7601 (__ASSUME_LCHOWN_SYSCALL): Likewise.
7602 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
7603 non-SPARC.
7604 (__ASSUME_SIOCGIFNAME): Don't define.
7605 (__ASSUME_MSG_NOSIGNAL): Likewise.
7606 (__ASSUME_SENDFILE): Define unconditionally.
7607 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
7608 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
7609 conditional code.
7610 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
7611 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
7612 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7613 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7614 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
7615 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7616 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
7618 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7619 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7621 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7622 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
7624 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7625 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7627 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7628 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
7630 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7631 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7633 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7634 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
7636 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7637 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7639 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7640 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7641 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
7642 Remove conditional code.
7643 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7644 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7645 Remove conditional code.
7646 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7647 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
7648 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
7649 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7650 Remove conditional code.
7651 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7652 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
7653 Remove conditional code.
7654 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7655 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
7656 Remove conditional code.
7657 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7658 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7659 Remove conditional code.
7660 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7661 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7662 Remove conditional code.
7663 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7664 * sysdeps/unix/sysv/linux/sh/pwrite64.c
7665 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7666 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7667 * sysdeps/unix/sysv/linux/sigaction.c
7668 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7669 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7670 * sysdeps/unix/sysv/linux/sigpending.c
7671 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7672 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7673 * sysdeps/unix/sysv/linux/sigprocmask.c
7674 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7675 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7676 * sysdeps/unix/sysv/linux/sigsuspend.c
7677 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7678 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7679 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7680 (__libc_missing_rt_sigs): Remove.
7681 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7682 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7683 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7684 Remove conditional code.
7685 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7686 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7687 return 1.
7688 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7689 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7690 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7691 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7692
1bfb7291
AJ
76932012-05-14 Andreas Jaeger <aj@suse.de>
7694
caae5a81
AJ
7695 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7696 it's not used in glibc.
7697 (__coshm1): Likewise.
7698 (__acosh1p): Likewise.
7699 (__sgn): Likewise.
7700
1bfb7291
AJ
7701 * manual/string.texi (Copying and Concatenation): Add missing
7702 variable in concat example.
7703 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7704
c044d724
L
77052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7706
144c5467 7707 [BZ #14103]
c044d724
L
7708 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7709 __builtin_clzl with __builtin_clzll.
7710
2523c62b
L
77112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7712
7713 [BZ #14104]
7714 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7715 libc_freeres_ptr.
7716
d7bb4c42
LD
77172012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7718
7719 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7720 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7721 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7722 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7723
9dc4e1fb
MF
77242012-05-14 Mike Frysinger <vapier@gentoo.org>
7725
7726 * NEWS: Update ia64 info.
7727
c7df0112
AS
77282012-05-12 Andreas Schwab <schwab@linux-m68k.org>
7729
7730 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7731 used as bcopy.
7732
dc70356c
TS
77332012-05-12 Thomas Schwinge <thomas@codesourcery.com>
7734
7735 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7736 * sysdeps/unix/syscalls.list (dup3): Likewise.
7737 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7738 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7739
9fb1a21f
L
77402012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7741
7742 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7743 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7744
4822a2a5
L
77452012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7746
7747 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7748 thread pointer.
7749 (TLS_IE): Use mov/add instead of movq/addq to load thread
7750 pointer.
7751 (TLS_GD_PREFIX): New.
7752 (TLS_GD): Use it.
7753
842b81d6
DM
77542012-05-11 David S. Miller <davem@davemloft.net>
7755
7756 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7757 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7758 (_FPU_SETCW): Likewise.
7759
1cf463cd
L
77602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7761
7762 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7763 is 32-byte aligned.
7764
60cc4a18
AS
77652012-05-11 Andreas Schwab <schwab@linux-m68k.org>
7766
7767 [BZ #11837]
7768 * iconvdata/gb18030.c: Update tables.
7769 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
7770 characters specially.
7771 (BODY for TO_LOOP): Add encoding of missing ranges.
7772
febb44a4
TS
77732012-05-11 Thomas Schwinge <thomas@codesourcery.com>
7774
7775 [BZ #13673]
7776 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7777 * sysdeps/mach/hurd/dup3.c: Likewise.
7778 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7779 * sysdeps/powerpc/memmove.c:: Likewise.
7780
0a10fb9e
L
77812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7782
7783 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7784 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7785
df8a552f
L
77862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7787
7788 * elf/elf.h (R_X86_64_RELATIVE64): New.
7789 (R_X86_64_NUM): Updated.
7790 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7791 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7792 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7793 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7794 tst-quad1pie tst-quad2pie
7795 (modules-names): Add tst-quadmod1 tst-quadmod2.
7796 ($(objpfx)tst-quad1): New dependency.
7797 ($(objpfx)tst-quad2): Likewise.
7798 ($(objpfx)tst-quad1pie): Likewise.
7799 ($(objpfx)tst-quad2pie): Likewise.
7800 * sysdeps/x86_64/tst-quad1.c: New file.
7801 * sysdeps/x86_64/tst-quad1pie.c: New file.
7802 * sysdeps/x86_64/tst-quad2.c: Likewise.
7803 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7804 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7805 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7806 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7807 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7808
f34d6f84
ST
78092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7810
f42d41d1
ST
7811 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7812 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7813 * streams/stropts.h (t_scalar_t): Define type.
7814
3c3571fc
ST
7815 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7816 (_PATH_PRESERVE): Set to "/var/lib".
7817 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7818
61f06bd3
ST
7819 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7820 instead of int.
7821
918d4d71
ST
7822 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7823 if __dir_mkfile succeeded.
7824
f34d6f84
ST
7825 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7826 checking for _hurd_dtablesize. Unlock it right after having
7827 finished _hurd_dtable allocation.
7828
10589b4a
TS
78292012-05-10 Thomas Schwinge <thomas@schwinge.name>
7830
674cdbc7
TS
7831 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7832 * sysdeps/mach/hurd/configure: Regenerated.
7833 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7834 special-casing to...
7835 * sysdeps/gnu/configure.in: ... this new file.
7836 * sysdeps/unix/sysv/linux/configure: Regenerated.
7837 * sysdeps/gnu/configure: New generated file.
7838
8e41b99f
TS
7839 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7840 for Linux: use nsec instead of usec, as well as:
7841 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7842 members of type struct timespec.
7843 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7844 New macros.
7845 (struct stat64): Likewise.
7846 (_STATBUF_ST_NSEC): New macro.
7847 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7848
10589b4a
TS
7849 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7850 __strtoul_internal rather than strtoul.
7851
63643c85
PT
78522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7853
7854 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7855 and reject them.
7856
3faebe6a
ST
78572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7858
7859 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7860 which preserves existing values.
7861 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7862
c6474b07
PT
78632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7864
7865 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7866 TIMEOUT values. Return EINVAL for NFDS values either negative or
7867 greater than FD_SETSIZE.
7868
1043890b
ST
78692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7870
7871 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7872 allocated, call __vm_protect to finish enabling the existing space, and
7873 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7874 allocate the remainder.
7875
37ed8b9b
PT
78762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7877
7878 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7879 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7880
db653660
ST
78812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7882
37ed8b9b
PT
7883 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7884 sysdeps/mach/hurd/readlink.c.
b29d4053 7885
db653660
ST
7886 * posix/tst-sysconf.c (posix_options): Only use
7887 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7888 _POSIX_SYNCHRONIZED_IO when they are defined
7889 * sysdeps/mach/hurd/bits/posix_opt.h:
7890 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7891 (_XOPEN_REALTIME): Undefine macro.
7892 (_XOPEN_REALTIME_THREADS): Undefine macro.
7893 (_XOPEN_SHM): Undefine macro.
7894 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7895 macro to -1.
7896 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7897 macro to -1.
7898 (_POSIX_ASYNC_IO): Undefine macro.
7899 (_POSIX_PRIORITIZED_IO): Undefine macro.
7900 (_POSIX_SPIN_LOCKS): Define macro to -1.
7901
ee16e894
ST
7902 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7903 SA_NODEFER, SA_RESETHAND.
7904 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7905 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7906 F_DUPFD_CLOEXEC.
7907
6103ae3b
TS
79082012-05-10 Thomas Schwinge <thomas@schwinge.name>
7909
7910 * elf/Makefile (pldd-modules): Define unconditionally.
7911
80b4e5f3
TS
79122012-05-10 Thomas Schwinge <thomas@schwinge.name>
7913
7914 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7915
edadcbd6
ST
79162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7917
7918 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7919 Return ENOENT when name is empty.
7920 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7921
80694780
TS
79222012-05-10 Thomas Schwinge <thomas@schwinge.name>
7923
1792c087
TS
7924 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7925
80694780
TS
7926 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7927
6b645f0d
ST
79282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7929
80694780
TS
7930 Fix mlock in all cases except non-readable pages.
7931 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7932 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 7933
6b645f0d
ST
7934 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7935 (__mkdir): When path is `/', just fail with EEXIST.
7936 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7937
e468f8a3
TS
79382012-05-10 Thomas Schwinge <thomas@schwinge.name>
7939
7940 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7941 <sys/uio.h> (for writev).
7942 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7943 and <sys/param.h> (for MIN).
7944
a4186cff
PT
79452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7946
7947 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7948 REQUESTED_TIME. Properly set the remaining time and return EINTR
7949 if interrupted.
7950
510bbf14
TS
79512012-05-10 Thomas Schwinge <thomas@schwinge.name>
7952
7953 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7954 Depend on against $(link-rpcuserlibs).
7955
5d5722e8
ST
79562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7957
a4186cff
PT
7958 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7959 (__libc_stack_end): Do not use attribute_relro.
7960 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7961 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 7962 to libthread-provided value.
a4186cff
PT
7963 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7964 attribute_relro.
5d5722e8 7965
37233df9
TS
79662012-05-10 Thomas Schwinge <thomas@schwinge.name>
7967
be971a2b
TS
7968 [BZ #3748]
7969 * bits/libc-lock.h (__libc_once_get): New macro.
7970 * sysdeps/mach/bits/libc-lock.h: Likewise.
7971 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7972 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7973 instead of using implementation details.
7974
37233df9
TS
7975 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7976 * libio/freopen.c: Likewise.
7977 * libio/freopen64.c: Likewise.
7978 * misc/syslog.c: Likewise.
7979 * nscd/connections.c: Likewise.
7980 * nscd/netgroupcache.c: Likewise.
7981 * sysdeps/posix/getcwd.c: Likewise.
7982
38de94a5
RM
79832012-05-10 Roland McGrath <roland@hack.frob.com>
7984
7985 * math/w_ilogbf.c: Add #include <limits.h>.
7986
67530489
ST
79872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7988
a4186cff 7989 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
7990 path instead of returning without unlocking.
7991
67530489
ST
7992 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7993 immediate-write ioctls.
7994 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7995
5aa3a74a
TS
79962012-05-10 Thomas Schwinge <thomas@schwinge.name>
7997
18bad2ae
TS
7998 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7999 __builtin_frame_address instead of making assumptions about the
8000 location of the return address relative to DATA. Force early load of
8001 the return address.
8002 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8003 __builtin_frame_address.
8004
5aa3a74a
TS
8005 dup3 for GNU Hurd.
8006 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8007 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8008 implement dup3 and do some further code clean-ups.
8009 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8010 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8011
ecd0de9a
ST
80122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8013
cd9fa985
ST
8014 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8015
a4186cff
PT
8016 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8017 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8018 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8019 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8020 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8021 d->port.lock.
802ca5a5 8022
a4186cff
PT
8023 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8024 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8025 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 8026
bcf55240
TS
80272012-05-10 Thomas Schwinge <thomas@schwinge.name>
8028
6960eb42
TS
8029 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8030 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8031 definitions.
8032
eb43375f
TS
8033 accept4 for GNU Hurd.
8034 * include/sys/socket.h (__libc_accept4): New prototype.
8035 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8036 to implement __libc_accept4.
8037 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8038 __libc_accept4.
8039 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8040
bcf55240
TS
8041 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8042 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8043 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8044 signal-defines.sym.
8045
6178c55b
ST
80462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8047
a4186cff 8048 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 8049
6f080c2f
TS
80502012-05-10 Thomas Schwinge <thomas@schwinge.name>
8051
8052 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8053 assertion on O_CLOEXEC flag.
8054 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8055 * hurd/intern-fd.c: Likewise.
8056 * hurd/port2fd.c: Likewise.
8057
bcfe3a54
ST
80582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8059
8060 [BZ #3906]
8061 * bits/in.h (IPV6_PKTINFO): Define new macro.
8062 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8063
89c9aa49
AZ
80642012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8065
8066 [BZ #13954]
8067 [BZ #13955]
8068 [BZ #13956]
8069 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8070 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8071 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8072 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8073 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8074 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8075 * math/libm-test.inc (logb_test) : Additional logb tests.
8076
021db4be
AJ
80772012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8078 Andreas Jaeger <aj@suse.de>
8079
8080 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8081 * configure: Regenerated.
8082 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8083 * config.make.in (link-obsolete-rpc): New substituted variable.
8084 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8085 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8086 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8087 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8088 so that libc.a contains the symbols.
8089 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8090 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8091 * sunrpc/auth_none.c: Likewise.
8092 * sunrpc/auth_unix.c: Likewise.
8093 * sunrpc/authdes_prot.c: Likewise.
8094 * sunrpc/authuxprot.c: Likewise.
8095 * sunrpc/clnt_gen.c: Likewise.
8096 * sunrpc/clnt_perr.c: Likewise.
8097 * sunrpc/clnt_raw.c: Likewise.
8098 * sunrpc/clnt_simp.c: Likewise.
8099 * sunrpc/clnt_tcp.c: Likewise.
8100 * sunrpc/clnt_udp.c: Likewise.
8101 * sunrpc/clnt_unix.c: Likewise.
8102 * sunrpc/des_crypt.c: Likewise.
8103 * sunrpc/des_soft.c: Likewise.
8104 * sunrpc/get_myaddr.c: Likewise.
8105 * sunrpc/key_call.c: Likewise.
8106 * sunrpc/key_prot.c: Likewise.
8107 * sunrpc/netname.c: Likewise.
8108 * sunrpc/pm_getmaps.c: Likewise.
8109 * sunrpc/pm_getport.c: Likewise.
8110 * sunrpc/pmap_clnt.c: Likewise.
8111 * sunrpc/pmap_prot.c: Likewise.
8112 * sunrpc/pmap_prot2.c: Likewise.
8113 * sunrpc/pmap_rmt.c: Likewise.
8114 * sunrpc/publickey.c: Likewise.
8115 * sunrpc/rpc_cmsg.c: Likewise.
8116 * sunrpc/rpc_common.c: Likewise.
8117 * sunrpc/rpc_dtable.c: Likewise.
8118 * sunrpc/rpc_prot.c: Likewise.
8119 * sunrpc/rpc_thread.c: Likewise.
8120 * sunrpc/rtime.c: Likewise.
8121 * sunrpc/svc.c: Likewise.
8122 * sunrpc/svc_auth.c: Likewise.
8123 * sunrpc/svc_raw.c: Likewise.
8124 * sunrpc/svc_run.c: Likewise.
8125 * sunrpc/svc_tcp.c: Likewise.
8126 * sunrpc/svc_udp.c: Likewise.
8127 * sunrpc/svc_unix.c: Likewise.
8128 * sunrpc/svcauth_des.c: Likewise.
8129 * sunrpc/xcrypt.c: Likewise.
8130 * sunrpc/xdr.c: Likewise.
8131 * sunrpc/xdr_array.c: Likewise.
8132 * sunrpc/xdr_float.c: Likewise.
8133 * sunrpc/xdr_intXX_t.c: Likewise.
8134 * sunrpc/xdr_mem.c: Likewise.
8135 * sunrpc/xdr_rec.c: Likewise.
8136 * sunrpc/xdr_ref.c: Likewise.
8137 * sunrpc/xdr_sizeof.c: Likewise.
8138 * sunrpc/xdr_stdio.c: Likewise.
8139
b5c086a2
RM
81402012-05-10 Roland McGrath <roland@hack.frob.com>
8141
8142 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8143 change. Update copyright years.
8144
6d74dd09
JM
81452012-05-10 Joseph Myers <joseph@codesourcery.com>
8146
8147 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8148
28e72501
MK
81492012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
8150 Joseph Myers <joseph@codesourcery.com>
8151 Paul Pluzhnikov <ppluzhnikov@google.com>
8152
8153 [BZ #14012]
8154 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8155 requiring rpcgen.
8156 [cross-compiling] (extra-libs): Likewise.
8157 [cross-compiling] (extra-libs-others): Likewise.
8158 [cross-compiling] (librpcsvc-routines): Likewise.
8159 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8160 [cross-compiling] (omit-deps): Likewise.
8161 (sunrpc-CPPFLAGS): New variable.
8162 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8163 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8164 (cross-rpcgen-objs): New variable.
8165 (extra-objs): Append $(cross-rpcgen-objs).
8166 ($(cross-rpcgen-objs)): New rule.
8167 ($(objpfx)cross-rpcgen): Likewise.
8168 (rpcgen-cmd): Define to use $(built-program-file). Expand
8169 comment.
8170 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8171 ($(objpfx)x%.stmp): Likewise.
8172 * sunrpc/proto.h [IS_IN_build] (_): Define.
8173 [IS_IN_build] (_libc_intl_domainname): Likewise.
8174
c8c59454
L
81752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8176
8177 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8178 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8179 and R_X86_64_TPOFF64.
8180
6f27cd16
JM
81812012-05-10 Joseph Myers <joseph@codesourcery.com>
8182
8183 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8184 sysdeps/unix/sysv/syscalls.list.
8185 (stime): Likewise.
8186 (utime): Likewise.
8187 * sysdeps/unix/sysv/syscalls.list: Remove file.
8188
02467e1c
PE
81892012-05-10 Paul Eggert <eggert@cs.ucla.edu>
8190
8191 [BZ #3440]
8192 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8193 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8194 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8195 (__LC_IDENTIFICATION): Make these macros useful in #if
8196 expressions, as required by C99.
8197
da392631
AS
81982012-05-10 Andreas Schwab <schwab@linux-m68k.org>
8199
8200 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8201 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
8202 after this.
8203
8115f29b
L
82042012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8205
8206 * stdlib/longlong.h: Updated from GCC.
8207
bdd74070
AJ
82082012-05-09 Andreas Jaeger <aj@suse.de>
8209
edfe0dbe
AJ
8210 * nscd/nscd.c (run_modes): Make named enum, reorder so that
8211 default is first entry.
8212 (run_mode): Set type.
8213 (main): Remove informal message about syslog.
8214 (options): Fix typo.
8215
bcfe3a54
ST
8216 [BZ #14053]
8217 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 8218 to asm.
bcfe3a54
ST
8219 (lrint): Likewise.
8220 (llrintf): Likewise.
8221 (llrint): Likewise.
8222 (rint): Likewise.
8223 (rintf): Likewise.
8224 (nearbyint): Likewise.
8225 (nearbyintf): Likewise.
bdd74070 8226
91d8d69e
AJ
82272012-05-09 Andreas Jaeger <aj@suse.de>
8228 Pedro Alves <palves@redhat.com>
8229
8230 * nscd/nscd.c (run_mode): Use enum.
8231 (main): Cleanup coding style issue.
8232
bb90b80b
AJ
82332012-05-09 Alexandre Oliva <aoliva@redhat.com>
8234 Andreas Jaeger <aj@suse.de>
8235
bcfe3a54
ST
8236 * nscd/nscd.c (go_background): Replaced with...
8237 (run_mode): ... this.
bb90b80b 8238 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
8239 (options): Add -F --foreground.
8240 (main): Implement it.
8241 (parse_opt): Parse it.
bb90b80b 8242
1a4b75a1
AJ
82432012-05-09 Andreas Jaeger <aj@suse.de>
8244
8245 [BZ #14083]
8246 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
8247 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
8248 -Wconversion warning.
8249 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
8250 Likewise.
8251
b1cc2472
JM
82522012-05-09 Joseph Myers <joseph@codesourcery.com>
8253
8254 * conform/data/locale.h-data (NULL): Use macro-constant. Require
8255 == 0.
8256 (LC_ALL): Use macro-int-constant.
8257 (LC_COLLATE): Likewise.
8258 (LC_CTYPE): Likewise.
8259 (LC_MESSAGES): Likewise.
8260 (LC_MONETARY): Likewise.
8261 (LC_NUMERIC): Likewise.
8262 (LC_TIME): Likewise.
8263 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
8264 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8265 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8266 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
8267 Specify type.
8268 [C99-based standards] (float_t): Expect type.
8269 [C99-based standards] (double_t): Expect type.
8270 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
8271 type.
8272 [C99-based standards] (HUGE_VALL): Likewise.
8273 [C99-based standards] (INFINITY): Likewise.
8274 [C99-based standards] (NAN): Likewise.
8275 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
8276 [C99-based standards] (FP_NAN): Likewise.
8277 [C99-based standards] (FP_NORMAL): Likewise.
8278 [C99-based standards] (FP_SUBNORMAL): Likewise.
8279 [C99-based standards] (FP_ZERO): Likewise.
8280 [C99-based standards] (FP_FAST_FMA): Use
8281 optional-macro-int-constant. Specify type. Require == 1.
8282 [C99-based standards] (FP_FAST_FMAF): Likewise.
8283 [C99-based standards] (FP_FAST_FMAL): Likewise.
8284 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
8285 [C99-based standards] (FP_ILOGBNAN): Likewise.
8286 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
8287 Specify type.
8288 [C99-based standards] (MATH_ERREXCEPT): Likewise.
8289 [C99-based standards] (math_errhandling): Specify type.
8290 [ISO99 || ISO11] (signgam): Do not allow.
8291 [non-C99-based standards] (copysignf): Do not allow.
8292 [non-C99-based standards] (exp2f): Likewise.
8293 [non-C99-based standards] (log2f): Likewise.
8294 [non-C99-based standards] (modff): Allow.
8295 [non-C99-based standards] (erff): Do not allow.
8296 [non-C99-based standards] (erfcf): Likewise.
8297 [non-C99-based standards] (gammaf): Likewise.
8298 [non-C99-based standards] (hypotf): Likewise.
8299 [non-C99-based standards] (j0f): Likewise.
8300 [non-C99-based standards] (j1f): Likewise.
8301 [non-C99-based standards] (jnf): Likewise.
8302 [non-C99-based standards] (lgammaf): Likewise.
8303 [non-C99-based standards] (tgammaf): Likewise.
8304 [non-C99-based standards] (y0f): Likewise.
8305 [non-C99-based standards] (y1f): Likewise.
8306 [non-C99-based standards] (ynf): Likewise.
8307 [non-C99-based standards] (isnanf): Likewise.
8308 [non-C99-based standards] (acoshf): Likewise.
8309 [non-C99-based standards] (asinhf): Likewise.
8310 [non-C99-based standards] (atanhf): Likewise.
8311 [non-C99-based standards] (cbrtf): Likewise.
8312 [non-C99-based standards] (expm1f): Likewise.
8313 [non-C99-based standards] (ilogbf): Likewise.
8314 [non-C99-based standards] (log1pf): Likewise.
8315 [non-C99-based standards] (logbf): Likewise.
8316 [non-C99-based standards] (nextafterf): Likewise.
8317 [non-C99-based standards] (remainderf): Likewise.
8318 [non-C99-based standards] (rintf): Likewise.
8319 [non-C99-based standards] (scalbf): Likewise.
8320 [non-C99-based standards] (copysignl): Likewise.
8321 [non-C99-based standards] (exp2l): Likewise.
8322 [non-C99-based standards] (log2l): Likewise.
8323 [non-C99-based standards] (modfl): Allow.
8324 [non-C99-based standards] (erfl): Do not allow.
8325 [non-C99-based standards] (erfcl): Likewise.
8326 [non-C99-based standards] (gammal): Likewise.
8327 [non-C99-based standards] (hypotl): Likewise.
8328 [non-C99-based standards] (j0l): Likewise.
8329 [non-C99-based standards] (j1l): Likewise.
8330 [non-C99-based standards] (jnl): Likewise.
8331 [non-C99-based standards] (lgammal): Likewise.
8332 [non-C99-based standards] (tgammal): Likewise.
8333 [non-C99-based standards] (y0l): Likewise.
8334 [non-C99-based standards] (y1l): Likewise.
8335 [non-C99-based standards] (ynl): Likewise.
8336 [non-C99-based standards] (isnanl): Likewise.
8337 [non-C99-based standards] (acoshl): Likewise.
8338 [non-C99-based standards] (asinhl): Likewise.
8339 [non-C99-based standards] (atanhl): Likewise.
8340 [non-C99-based standards] (cbrtl): Likewise.
8341 [non-C99-based standards] (expm1l): Likewise.
8342 [non-C99-based standards] (ilogbl): Likewise.
8343 [non-C99-based standards] (log1pl): Likewise.
8344 [non-C99-based standards] (logbl): Likewise.
8345 [non-C99-based standards] (nextafterl): Likewise.
8346 [non-C99-based standards] (remainderl): Likewise.
8347 [non-C99-based standards] (rintl): Likewise.
8348 [non-C99-based standards] (scalbl): Likewise.
8349 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8350 [non-C99-based standards] (FP_*): Do not allow.
8351 [C99-based standards] (FP_*): Change to
8352 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8353 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8354 allow.
8355 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
8356 (SIG_ERR): Likewise.
8357 [X/Open-based standards] (SIG_HOLD): Likewise.
8358 (SIG_IGN): Likewise.
8359 (SIGABRT): Use macro-int-constant. Specify type. Require
8360 positive value.
8361 (SIGFPE): Likewise.
8362 (SIGILL): Likewise.
8363 (SIGINT): Likewise.
8364 (SIGSEGV): Likewise.
8365 (SIGTER): Likewise.
8366 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
8367 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
8368 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
8369 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
8370 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
8371 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
8372 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
8373 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
8374 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
8375 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
8376 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
8377 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
8378 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
8379 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
8380 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
8381 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
8382 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
8383 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
8384 [X/Open-based standards] (SIGTRAP): Likewise.
8385 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
8386 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
8387 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
8388 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
8389 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8390 allow.
8391
b9f1922d
IW
83922012-05-08 Ian Wienand <ianw@vmware.com>
8393
8394 [BZ #14080]
8395 * time/tzset.c (__tzset_parse_tz): Update default rules for
8396 daylight time changes in the Energy Policy Act of 2005.
8397
1db86e88
AJ
83982012-05-09 Andreas Jaeger <aj@suse.de>
8399
8400 [BZ #13983]
8401 * elf/ldconfig.c (parse_conf): Change string to make clear that
8402 ldconfig only issued a warning if ld.so.conf does not exist.
8403
dee4a4e3
DM
84042012-05-08 David S. Miller <davem@davemloft.net>
8405
ee0db190
DM
8406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
8407 movxtod instead of popping the value on the stack.
8408
dee4a4e3
DM
8409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8410
6a43ec98
CD
84112012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
8412
8413 * config.h.in: Add HAVE_ARM_PCS_VFP.
8414
05c2c961
RMG
84152012-05-08 Roland Mc Grath <roland@hack.frob.com>
8416
bcfe3a54
ST
8417 [BZ #13979]
8418 * include/features.h: Warn if user requests __FORTIFY_SOURCE
8419 checking but the checks are disabled for any reason.
05c2c961 8420
4b30f61a
L
84212012-05-08 H.J. Lu <hongjiu.lu@intel.com>
8422
8423 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
8424 and ELF64_R_TYPE with ELFW(R_TYPE).
8425
eee2bc67
JM
84262012-05-08 Joseph Myers <joseph@codesourcery.com>
8427
7ea5391a
JM
8428 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
8429 (ulimit): Likewise.
8430
eee2bc67
JM
8431 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
8432 (settimeofday): Likewise.
8433
abb66a67
MF
84342012-05-08 Mike Frysinger <vapier@gentoo.org>
8435
8436 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
8437 a struct th_u2 inside the union, and move tu_block/tu_code into
8438 a new th_u3 union of tu_block/tu_code inside of that. Move
8439 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
8440 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
8441 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
8442 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
8443 (th_stuff): Change to th_u1.tu_stuff.
8444 (th_data): Define.
8445 (th_msg): Change to th_u1.th_u2.tu_data.
8446
7f18b530
DM
84472012-05-07 David S. Miller <davem@davemloft.net>
8448
05760585
DM
8449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8450
7f18b530
DM
8451 [BZ #14074]
8452 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
8453 (SETUP_PIC_REG): Use it.
8454 (SETUP_PIC_REG_LEAF): Use it.
8455
495fd99f
JM
84562012-05-07 Joseph Myers <joseph@codesourcery.com>
8457
8458 [BZ #13885]
8459 [BZ #13923]
8460 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8461 USE_AS_EXPM1L.
8462 (EXPL_FINITE): Likewise.
8463 (FLDLOG): Likewise.
8464 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8465 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8466 e_expl.S.
8467 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8468 USE_AS_EXPM1L.
8469 (EXPL_FINITE): Likewise.
8470 (FLDLOG): Likewise.
8471 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8472 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8473 e_expl.S.
8474 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
8475 test of -max_value argument for long double.
8476 * sysdeps/i386/fpu/libm-test-ulps: Update.
8477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8478
6693d694
DM
84792012-05-06 David S. Miller <davem@davemloft.net>
8480
8481 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
8482 quad soft-float symbols whose references which are compiler
8483 generated.
8484 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8485
6c23e11c
JM
84862012-05-06 Joseph Myers <joseph@codesourcery.com>
8487
d8b82cad
JM
8488 [BZ #13884]
8489 [BZ #13914]
8490 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8491 USE_AS_EXP10L.
8492 (EXPL_FINITE): Likewise.
8493 (FLDLOG): Likewise.
8494 (c0): Likewise.
8495 (c1): Likewise.
8496 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8497 Adjust comments for base varying.
8498 (__expl_finite): Change alias to EXPL_FINITE.
8499 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
8500 e_expl.S.
8501 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
8502 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8503 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8504 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
8505 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8506 USE_AS_EXP10L.
8507 (EXPL_FINITE): Likewise.
8508 (FLDLOG): Likewise.
8509 (c0): Likewise.
8510 (c1): Likewise.
8511 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8512 Adjust comments for base varying.
8513 (__expl_finite): Change alias to EXPL_FINITE.
8514 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
8515 tests for bugs.
8516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8517
6c23e11c
JM
8518 [BZ #14064]
8519 * math/libm-test.inc (check_float_internal): Correct ulp
8520 calculation for subnormal expected results.
8521
29ba805c
AJ
85222012-05-06 Andreas Jaeger <aj@suse.de>
8523
8524 * Makeconfig (+math-flags): New, set to -frounding-math.
8525 (+cflags): Add +math-flags so that all of glibc gets compiled with
8526 it.
8527
8528 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
8529
7b17aeda
JM
85302012-05-05 Joseph Myers <joseph@codesourcery.com>
8531
5779f134
JM
8532 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
8533 Disable one test.
8534
41498f4d
JM
8535 [BZ #13787]
8536 [BZ #13922]
8537 [BZ #14036]
8538 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
8539 (__ieee754_expl): Allow for and saturate large arguments.
8540 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
8541 (u_threshold): Likewise.
8542 (__exp): Call __ieee754_exp before checking for overflow and
8543 underflow.
8544 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
8545 (u_threshold): Likewise.
8546 (__expf): Call __ieee754_expf before checking for overflow and
8547 underflow.
8548 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
8549 (u_threshold): Likewise.
8550 (__expl): Call __ieee754_expl before checking for overflow and
8551 underflow.
8552 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
8553 (__ieee754_expl): Allow for and saturate large arguments.
8554 * math/libm-test.inc (exp_test): Add another test. Do not allow
8555 missing overflow exception on overflow.
8556 (expm1_test): Do not allow missing overflow exception on overflow.
8557
6698b8bf
JM
8558 * sysdeps/i386/fpu/e_expl.c: Move to ...
8559 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
8560 rather than using inline asm.
8561 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
8562 * sysdeps/x86_64/fpu/e_expl.S: Copy from
8563 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
8564
7b17aeda
JM
8565 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
8566 (nice): Likewise.
8567 (poll): Likewise.
8568 (signal): Likewise.
8569 (time): Likewise.
8570 (times): Likewise.
8571
f7c85819
JM
85722012-05-04 Joseph Myers <joseph@codesourcery.com>
8573
8574 * sysdeps/unix/syscalls.list (adjtime): Add entry from
8575 sysdeps/unix/common/syscalls.list.
8576 (fchmod): Likewise.
8577 (fchown): Likewise.
8578 (ftruncate): Likewise.
8579 (getrusage): Likewise.
8580 (gettimeofday): Likewise.
8581 (setpgid): Likewise.
8582 (setregid): Likewise.
8583 (setreuid): Likewise.
8584 (sigaction): Likewise.
8585 (truncate): Likewise.
8586 (vhangup): Likewise.
8587 * sysdeps/unix/common/syscalls.list: Remove file.
8588 * sysdeps/unix/bsd/Implies: Don't include unix/common.
8589 * sysdeps/unix/sysv/linux/Implies: Likewise.
8590
336270d0
L
85912012-05-04 H.J. Lu <hongjiu.lu@intel.com>
8592
8593 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
8594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
8595 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
8596 Moved to ...
8597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8598 Here.
8599 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
8600 to ...
8601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
8602 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
8603 to ...
8604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
8605 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
8606 to ...
8607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
8608 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
8609 to ...
8610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
8611 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
8612 to ...
8613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
8614 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
8615 to ...
8616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
8617 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
8618 to ...
8619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8620 Here.
8621 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
8622 to ...
8623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
8624 Here.
8625 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
8626 to ...
8627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
8628 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
8629 Moved to ...
8630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
8631 Here.
8632 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
8633 to ...
8634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
8635
d128e450
JM
86362012-05-04 Joseph Myers <joseph@codesourcery.com>
8637
fa8ee516
JM
8638 * sysdeps/unix/common/bits/dirent.h: Remove file.
8639 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8640
d128e450
JM
8641 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
8642 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
8643 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
8644 * sysdeps/unix/bsd/isatty.c: Likewise.
8645 * sysdeps/unix/bsd/tcdrain.c: Likewise.
8646 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
8647 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
8648
ff8faaf0 86492012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 8650
62881be4 8651 [BZ #13563]
31dc8730
AZ
8652 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
8653 long double comparison inaccuracies.
8654 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8656
6fef930c
AS
86572012-05-04 Andreas Schwab <schwab@linux-m68k.org>
8658
8659 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
8660 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
8661
8f203e6c
JM
86622012-05-04 Joseph Myers <joseph@codesourcery.com>
8663
8664 [BZ #14049]
8665 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
8666 nonzero digits before rounding a hex value.
8667 * stdlib/tst-strtod.c (tests): Add another test.
8668
5197d9c2
AK
86692012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8670
8671 * sysdeps/s390/fpu/libm-test-ulps: Update.
8672
f0c1dedf
AJ
86732012-05-03 Andreas Jaeger <aj@suse.de>
8674
8675 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8676 does not get optimized out.
8677 (malloc_opt_barrier): New.
8678
a65ef2ae 86792012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 8680 Roland McGrath <roland@hack.frob.com>
a65ef2ae 8681
2b942cb7 8682 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 8683 intermediate file deletion.
2b942cb7 8684 (generated): Add .symlist files.
a65ef2ae 8685
54b71e02
JM
86862012-05-03 Joseph Myers <joseph@codesourcery.com>
8687
8688 [BZ #13775]
8689 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8690 Redirect under this condition.
8691 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8692 [__USE_GNU] (__dprintf_chk): Not under this condition.
8693 [__USE_GNU] (__vdprintf_chk): Likewise.
8694 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8695 under this condition.
8696 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8697 [__USE_XOPEN2K8] (dprintf): Define under this condition.
8698 [__USE_XOPEN2K8] (vdprintf): Likewise.
8699 [__USE_GNU] (__dprintf_chk): Not under this condition.
8700 [__USE_GNU] (__vdprintf_chk): Likewise.
8701 [__USE_GNU] (dprintf): Likewise.
8702 [__USE_GNU] (vdprintf): Likewise.
8703
d3dfcc41
RM
87042012-05-03 Roland McGrath <roland@hack.frob.com>
8705
8706 * elf/Makefile (common-generated): Set this instead of generated for
8707 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
8708 $(all-built-dso)-derived lists.
8709
7ac30cc5
AJ
87102012-05-03 Andreas Jaeger <aj@suse.de>
8711
0c51e550
AJ
8712 * sysdeps/i386/fpu/libm-test-ulps: Update.
8713
7ac30cc5
AJ
8714 * FAQ: Removed.
8715 * FAQ.in: Likewise.
8716 * scripts/gen-FAQ.pl: Likewise.
8717 * manual/install.texi (Installation): Point to online location of
8718 FAQ.
8719 * Makefile (files-for-dist): Remove FAQ.
8720 (FAQ): Remove.
8721
d4c2917f
AM
87222012-05-02 Allan McRae <allan@archlinux.org>
8723
8724 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8725 (LDFLAGS-reldepmod5.so): Likewise.
8726 (LDFLAGS-reldep6mod1.so): Likewise.
8727 (LDFLAGS-reldep6mod4.so): Likewise.
8728 (LDFLAGS-reldep8mod3.so): Likewise.
8729 (LDFLAGS-unload4mod1.so): Likewise.
8730 (LDFLAGS-unload4mod2.so): Likewise.
8731 (LDFLAGS-tst-initorder): Likewise.
8732 (LDFLAGS-tst-initordera2.so): Likewise.
8733 (LDFLAGS-tst-initordera3.so): Likewise.
8734 (LDFLAGS-tst-initordera4.so): Likewise.
8735 (LDFLAGS-tst-initorderb2.so): Likewise.
8736 (LDFLAGS-noload): Likewise.
8737 (LDFLAGS-next): Likewise.
8738 (LDFLAGS-order2mod1.so): Likewise.
8739 (LDFLAGS-order2mod2.so): Likewise.
8740 (LDFLAGS-tst-initorder2): Likewise.
8741 (LDFLAGS-tst-initorder2a.so): Likewise.
8742 (LDFLAGS-tst-initorder2b.so): Likewise.
8743 (LDFLAGS-tst-initorder2c.so): Likewise.
8744 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8745
d77f993f
DM
87462012-05-02 David S. Miller <davem@davemloft.net>
8747
8748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8749
171a70b4
PP
87502012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8751
8752 [BZ #14055]
8753 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8754
0be196ad
AJ
87552012-05-02 Andreas Jaeger <aj@suse.de>
8756
8757 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8758 since we manipulate rounding mode.
8759 (CPPFLAGS-test-idouble.c): Likewise.
8760 (CPPFLAGS-test-ifloat.c): Likewise.
8761 (CFLAGS-test-ldouble.c): Likewise.
8762 (CFLAGS-test-double.c): Likewise.
8763 (CFLAGS-test-float.c): Likewise.
8764 (CFLAGS-test-misc.c): Likewise.
8765 (CFLAGS-test-test-fenv.c): Likewise.
8766
4f9d04aa
AZ
87672012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8768
2b942cb7
RM
8769 [BZ #2550]
8770 [BZ #2570]
8771 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8772 comparisons to determine direction to adjust input.
4f9d04aa 8773
82a79e7d
RM
87742012-05-01 Roland McGrath <roland@hack.frob.com>
8775
f5a01ca9
RM
8776 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8777 output to the target.
8778
90fe4186
RM
8779 * scripts/localplt.awk: New file.
8780 * elf/Makefile ($(objpfx)check-localplt): Target removed.
8781 (check-localplt-CFLAGS): Variable removed.
8782 ($(all-built-dso:=.jmprel)): New static pattern rule.
8783 (generated): Add those targets.
8784 (localplt-built-dso): New variable.
8785 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8786
8787 * elf/check-localplt.c: File removed.
8788
82397ed6
RM
8789 * scripts/check-execstack.awk: New file.
8790 * elf/Makefile ($(objpfx)check-execstack): Target removed.
8791 (check-execstack-CFLAGS): Variable removed.
8792 ($(objpfx)check-execstack.h): Target removed.
8793 ($(objpfx)execstack-default): New target.
8794 (generated): Add that instead of check-execstack.h.
8795 ($(all-built-dso:=.phdr)): New static pattern rule.
8796 (generated): Add those targets.
8797 * elf/check-execstack.c: File removed.
8798
82a79e7d
RM
8799 * scripts/check-textrel.awk: New file.
8800 * elf/Makefile ($(objpfx)check-textrel): Target removed.
8801 (check-textrel-CFLAGS): Variable removed.
8802 (all-built-dso): Use := to define.o
8803 ($(all-built-dso:=.dyn)): New static pattern rule.
8804 (generated): Add those targets.
8805 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8806 * config.make.in (READELF): New substituted variable.
8807 * elf/check-textrel.c: File removed.
8808
62fde54f 88092012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 8810
615605c9
JM
8811 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8812 allow.
8813 * conform/data/ctype.h-data [C99-based standards] (isblank):
8814 Expect function.
8815 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8816 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8817 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8818 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8819 Specify type. Require positive value.
8820 (EILSEQ): Likewise.
8821 (ERANGE): Likewise.
8822 [ISO || POSIX] (EILSEQ): Do not expect.
8823 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8824 Specify type. Require positive value.
8825 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8826 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8827 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8828 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8829 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8830 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8831 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8832 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8833 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8834 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8835 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8836 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8837 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8838 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8839 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8840 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8841 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8842 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8843 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8844 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8845 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8846 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8847 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8848 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8849 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8850 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8851 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8852 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8853 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8854 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8855 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8856 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8857 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8858 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8859 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8860 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8861 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8862 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8863 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8864 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8865 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8866 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8867 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8868 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8869 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8870 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8871 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8872 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8873 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8874 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8875 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8876 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8877 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8878 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8879 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8880 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8881 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8882 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8883 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8884 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8885 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8886 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8887 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8888 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8889 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8890 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8891 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8892 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8893 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8894 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8895 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8896 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8897 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8898 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8899 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8900 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8901 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8902 Require >= 2.
8903 (FLT_ROUNDS): Expect as macro, not constant.
8904 (FLT_MANT_DIG): Use macro-int-constant.
8905 (DBL_MANT_DIG): Likewise.
8906 (LDBL_MANT_DIG): Likewise.
8907 (FLT_DIG): Likewise.
8908 (DBL_DIG): Likewise.
8909 (LDBL_DIG): Likewise.
8910 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8911 (DBL_MIN_EXP): Likewise.
8912 (LDBL_MIN_EXP): Likewise.
8913 (FLT_MAX_EXP): Use macro-int-constant.
8914 (DBL_MAX_EXP): Likewise.
8915 (LDBL_MAX_EXP): Likewise.
8916 (FLT_MAX_10_EXP): Likewise.
8917 (DBL_MAX_10_EXP): Likewise.
8918 (LDBL_MAX_10_EXP): Likewise.
8919 (FLT_MAX): Use macro-constant.
8920 (DBL_MAX): Likewise.
8921 (LDBL_MAX): Likewise.
8922 (FLT_EPSILON): Use macro-constant. Give upper bound.
8923 (DBL_EPSILON): Likewise.
8924 (LDBL_EPSILON): Likewise.
8925 (FLT_MIN): Likewise.
8926 (DBL_MIN): Likewise.
8927 (LDBL_MIN): Likewise.
8928 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8929 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8930 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8931 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8932 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8933 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8934 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8935 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8936 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8937 [ISO11] (FLT_TRUE_MIN): Likewise.
8938 [ISO11] (LDBL_TRUE_MIN): Likewise.
8939 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8940 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8941 (SCHAR_MIN): Use macro-int-constant. Specify type.
8942 (SCHAR_MAX): Likewise.
8943 (UCHAR_MAX): Likewise.
8944 (CHAR_MIN): Likewise.
8945 (CHAR_MAX): Likewise.
8946 (MB_LEN_MAX): Use macro-int-constant.
8947 (SHRT_MIN): Use macro-int-constant. Specify type.
8948 (SHRT_MAX): Likewise.
8949 (USHRT_MAX): Likewise.
8950 (INT_MAX): Likewise.
8951 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8952 bound negative.
8953 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8954 bound with "U".
8955 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8956 bound with "L".
8957 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8958 bound negative. Suffix upper bound with "L".
8959 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8960 bound with "UL".
8961 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8962 Specify type.
8963 [C99-based standards] (LLONG_MAX): Likewise.
8964 [C99-based standards] (ULLONG_MAX): Likewise.
8965 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8966 == 0.
8967 [ISO11] (max_align_t): Require type.
8968 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8969
c9140a62
JM
8970 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8971 from $CFLAGS, without defining away __attribute__ calls.
8972 (checknamespace): Use $CFLAGS_namespace.
8973
9af0bf29
JM
8974 * conform/conformtest.pl (@keywords): Only include C99 keywords
8975 for standards based on C99 or C11.
8976
343222a2
JM
8977 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8978 Disable tests.
8979 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8980 UNIX98]: Likewise.
8981
661f8cf0
JM
8982 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8983 usability of symbols in #if.
8984
ee74b9cb
JM
8985 * conform/conformtest.pl: If macro or constant types start
8986 "promoted:", expect the symbol to be of the following type
8987 promoted by the integer promotions.
62fde54f 8988
aafc49b3
JM
8989 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8990 in one place. Also handle "macro-constant".
8991
fefdf574
JM
8992 * conform/conformtest.pl: Only accept expected macro values with
8993 "==". Parse all "macro" lines in one place.
8994 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8995
f2d922fe
JM
8996 * conform/conformtest.pl: Handle braced types on "constant" lines
8997 instead of handling "typed-constant".
8998 * conform/data/signal.h-data: Use "constant" instead of
8999 "typed-constant".
9000
d22956c9
JM
9001 * conform/conformtest.pl: Handle "optional-" at start of lines in
9002 one place rather than duplicating several cases. Handle each
9003 format of "macro" line with initial "optional-".
9004
028e2e38
JM
9005 * conform/conformtest.pl: Only accept expected constant or
9006 optional-constant values with "==". Parse all "constant" lines in
9007 one place. Parse all "optional-constant" lines in one place.
9008 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9009 * conform/data/fmtmsg.h-data: Likewise.
9010 * conform/data/netinet/in.h-data: Likewise.
9011 * conform/data/tar.h-data: Likewise.
9012 * conform/data/limits.h-data: Use "==" form on "constant" and
9013 "optional-constant" lines.
9014
1b8f2850
JM
9015 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9016 Use -std=c99 for XOPEN2K.
9017 (@knownproblems): Remove.
9018 (newtoken): Don't check %isknown.
9019
a05a144b
JM
9020 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9021 Do not expect macro.
9022 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9023 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9024 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9025 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9026 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9027 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9028 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9029 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9030 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9031 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9032 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9033 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9034 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9035 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9036 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9037 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9038 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9039 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9040 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9041 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9042 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9043 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9044 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9045 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9046 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9047 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9048 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9049 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9050 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9051 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9052 [XPG3] (acosh): Likewise.
9053 [XPG3] (asinh): Likewise.
9054 [XPG3] (atanh): Likewise.
9055 [XPG3] (cbrt): Likewise.
9056 [XPG3] (expm1): Likewise.
9057 [XPG3] (ilogb): Likewise.
9058 [XPG3] (log1p): Likewise.
9059 [XPG3] (logb): Likewise.
9060 [XPG3] (nextafter): Likewise.
9061 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9062 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9063 [XPG3] (remainder): Likewise.
9064 [XPG3] (rint): Likewise.
9065 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9066 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9067 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9068 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9069 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9070 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9071 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9072 [UNIX98 || XOPEN2K] (scalb): Expect.
9073 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9074 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9075 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9076 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9077 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9078 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9079 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9080 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9081 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9082 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9083 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9084 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9085 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9086 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9087 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9088 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9089 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9090 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9091 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9092 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9093 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9094 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9095 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9096 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9097 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9098 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9099 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9100 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9101 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9102 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9103 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9104 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9105 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9106 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9107 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9108 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9109 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9110 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9111 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9112 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9113 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9114 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9115 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9116 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9117 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9118 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9119 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9120 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9121 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9122 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9123 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9124 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9125 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9126 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9127 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9128 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9129 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9130 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9131 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9132 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9133 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9134 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9135 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9136 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9137 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9138 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9139 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9140 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9141 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9142 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9143 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9144 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9145 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9146 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9147 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9148 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9149 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9150 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9151 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9152 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9153 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9154 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9155 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9156 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9157 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9158 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9159 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9160 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9161 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9162 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9163 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9164 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9165 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9166 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9167 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9168 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9169 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9170 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9171 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9172 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9173 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9174 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9175 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9176 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9177 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9178 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9179 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9180 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9181 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9182 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9183 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9184 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9185 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9186 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9187 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9188 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9189 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9190 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9191 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9192 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9193 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9194 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9195 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9196 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9197 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9198 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9199 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9200 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9201 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9202 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9203 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9204 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9205 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
9206 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
9207 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
9208 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
9209 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
9210
73c5ebe3
JM
9211 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
9212 _XOPEN_SOURCE_EXTENDED for XPG4.
9213
39c33b6c
JM
9214 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
9215
62fde54f
JM
9216 * Makeconfig (localtime): Remove variable.
9217 (inst_localtime-file): Likewise.
9218
0741d64c
AS
92192012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9220
9221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9222 Update.
9223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9224 Update.
9225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9226 Update.
9227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9228 Update.
9229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9230 Update.
9231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
9232 Update.
9233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9234 Update.
9235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
9236 Update.
9237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9238 Update.
9239
7cb029ee
JM
92402012-05-01 Joseph Myers <joseph@codesourcery.com>
9241
9242 [BZ #2550]
9243 [BZ #2570]
9244 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
9245 comparisons to determine direction to adjust input.
9246 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9247 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
9248 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9249 Likewise.
9250 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9251 Likewise.
9252 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9253 Likewise.
9254 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9255 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9256 Likewise.
9257 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9258 Likewise.
9259 * math/libm-test.inc (nexttoward_test): Add more tests.
9260
412bd966
AS
92612012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9262
9263 [BZ #14040]
9264 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
9265 in version GLIBC_2.1, not GLIBC_2.0.
9266 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
9267 Likewise.
9268
9568c0c2
JM
92692012-04-30 Joseph Myers <joseph@codesourcery.com>
9270
adfbc8ac
JM
9271 [BZ #13942]
9272 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
9273 (1 - x) * (1 + x).
9274 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9275 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
9276 * math/libm-test.inc (acos_test): Add more tests.
9277 (asin_test): Likewise.
9278 * sysdeps/i386/fpu/libm-test-ulps: Update.
9279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9280
5ba3cc69
JM
9281 [BZ #14034]
9282 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
9283 of square root.
9284 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
9285 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9286 * math/libm-test.inc (acos_test_tonearest): New function.
9287 (acos_test_towardzero): Likewise.
9288 (acos_test_downward): Likewise.
9289 (acos_test_upward): Likewise.
9290 (asin_test_tonearest): Likewise.
9291 (asin_test_towardzero): Likewise.
9292 (asin_test_downward): Likewise.
9293 (asin_test_upward): Likewise.
9294 (main): Call the new functions.
9295 * sysdeps/i386/fpu/libm-test-ulps: Update.
9296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9297
9568c0c2
JM
9298 [BZ #13884]
9299 [BZ #13924]
9300 * math/e_exp10.c: Include <float.h>.
9301 (__ieee754_exp10): Handle underflow here rather than multiplying
9302 large negative argument by M_LN10.
9303 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
9304 of __ieee754_expf.
9305 * math/e_exp10l.c: Include <float.h>.
9306 (__ieee754_exp10l): Handle underflow here rather than multiplying
9307 large negative argument by M_LN10l.
9308 * math/libm-test.inc (exp10_test): Add another test. Do not allow
9309 spurious overflow exception on underflow.
9310
5ac3ea17
MP
93112012-04-29 Marek Polacek <polacek@redhat.com>
9312
9313 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
9314 (__fortify_function): New macro.
9315 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
9316 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
9317 __extern_always_inline.
9318 * libio/bits/stdio2.h: Likewise.
9319 * libio/bits/stdio.h: Likewise.
9320 * string/string.h: Likewise.
9321 * string/bits/string3.h: Likewise.
9322 * include/stdio.h: Likewise.
9323 * stdlib/bits/stdlib.h: Likewise.
9324 * stdlib/stdlib.h: Likewise.
9325 * rt/bits/mqueue2.h: Likewise.
9326 * rt/mqueue.h: Likewise.
9327 * posix/bits/unistd.h: Likewise.
9328 * posix/unistd.h: Likewise.
9329 * io/bits/poll2.h: Likewise.
9330 * io/bits/fcntl2.h: Likewise.
9331 * io/fcntl.h: Likewise.
9332 * io/sys/poll.h: Likewise.
9333 * misc/bits/syslog.h: Likewise.
9334 * misc/bits/syslog-ldbl.h: Likewise.
9335 * misc/sys/syslog.h: Likewise.
9336 * socket/bits/socket2.h: Likewise.
9337 * socket/sys/socket.h: Likewise.
9338 * debug/tst-chk1.c: Likewise.
9339 * wcsmbs/bits/wchar2.h: Likewise.
9340 * wcsmbs/bits/wchar-ldbl.h: Likewise.
9341 * wcsmbs/wchar.h: Likewise.
9342
ecf0ebfb
AJ
93432012-04-29 Andreas Jaeger <aj@suse.de>
9344
9345 * Makerules (tests): Remove enable-check-abi protection.
9346 (check-abi-warn): Remove.
9347 (check-abi-%): Remove check-abi-warn usage.
9348
9349 * configure.in: Remove check-abi configure option.
9350 * configure: Regenerated.
9351 * config.make.in (enable-check-abi): Remove.
9352
6d5c57fa
AS
93532012-04-28 Andreas Schwab <schwab@linux-m68k.org>
9354
24c5d07e 9355 [BZ #14033]
ded5180a
AS
9356 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
9357 double functions to double *_finite functions.
9358
7e0d315d
AS
9359 [BZ #13941]
9360 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
9361 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
9362 LDBL_MIN_EXP.
9363 * stdio-common/Makefile (tests): Add tst-sprintf3.
9364 * stdio-common/tst-sprintf3.c: New file.
9365
6d5c57fa
AS
9366 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
9367 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
9368
0749ff8b
JM
93692012-04-28 Joseph Myers <joseph@codesourcery.com>
9370
9371 * conform/conformtest.pl: Remove duplicate typed-constant
9372 handling.
9373
8dbd5d7b
DM
93742012-04-28 David S. Miller <davem@davemloft.net>
9375
9376 * Makerules (%.abilist): Add vpath on sysdep_dirs.
9377 (check-abi-%): Remove AWK script prerequisite and explicit
9378 abilist directory.
9379 (check-abi): Rewrite to just diff the symlist with the abilist.
9380 (config-tls, config-abi-config): Delete, no longer used.
9381 (update-abi-%): Remove AWK script and explicit abilist directory.
9382 (update-abi): Rewrite to simply compare and conditionally copy the
9383 symlist and the sysdep abilist file. Remove update-abi-config
9384 checks.
9385 * abilist/ld.abilist: Remove.
9386 * abilist/libBrokenLocale.abilist: Remove.
9387 * abilist/libanl.abilist: Remove.
9388 * abilist/libcrypt.abilist: Remove.
9389 * abilist/libdl.abilist: Remove.
9390 * abilist/librt.abilist: Remove.
9391 * abilist/libthread_db.abilist: Remove.
9392 * abilist/libutil.abilist: Remove.
9393 * scripts/extract-abilist.awk: Remove.
9394 * scripts/merge-abilist.awk: Remove.
9395 * sysdeps/generic/libcidn.abilist: New file.
9396 * sysdeps/generic/libnss_compat.abilist: New file.
9397 * sysdeps/generic/libnss_db.abilist: New file.
9398 * sysdeps/generic/libnss_dns.abilist: New file.
9399 * sysdeps/generic/libnss_files.abilist: New file.
9400 * sysdeps/generic/libnss_hesiod.abilist: New file.
9401 * sysdeps/generic/libnss_nis.abilist: New file.
9402 * sysdeps/generic/libnss_nisplus.abilist: New file.
9403 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
9404 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
9405 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
9406 file.
9407 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
9408 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
9409 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
9410 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
9411 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
9412 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
9413 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
9414 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
9415 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
9416 file.
9417 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
9418 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
9419 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
9420 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
9421 file.
9422 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
9423 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
9424 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
9425 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
9426 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
9427 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
9428 file.
9429 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
9430 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
9431 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
9432 file.
9433 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
9434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
9435 New file.
9436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
9437 New file.
9438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
9439 New file.
9440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
9441 New file.
9442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
9443 New file.
9444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
9445 New file.
9446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
9447 New file.
9448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
9449 New file.
9450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
9451 New file.
9452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
9453 New file.
9454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
9455 New file.
9456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
9457 New file.
9458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
9459 New file.
9460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
9461 file.
9462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9463 New file.
9464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9465 New file.
9466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
9467 file.
9468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9469 New file.
9470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9471 New file.
9472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
9473 file.
9474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9475 New file.
9476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9477 New file.
9478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9479 New file.
9480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9481 New file.
9482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9483 New file.
9484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9485 New file.
9486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
9487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
9488 file.
9489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9490 New file.
9491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
9492 file.
9493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
9494 file.
9495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
9496 file.
9497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
9498 file.
9499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
9500 file.
9501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9502 New file.
9503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
9504 file.
9505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
9506 file.
9507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9508 New file.
9509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
9510 file.
9511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
9512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
9513 file.
9514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9515 New file.
9516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
9517 file.
9518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
9519 file.
9520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
9521 file.
9522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
9523 file.
9524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
9525 file.
9526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9527 New file.
9528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
9529 file.
9530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
9531 file.
9532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9533 New file.
9534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
9535 file.
9536 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9537 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
9538 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
9539 file.
9540 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
9541 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
9542 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
9543 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
9544 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
9545 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
9546 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
9547 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
9548 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
9549 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
9550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
9551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
9552 file.
9553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9554 New file.
9555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
9556 file.
9557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
9558 file.
9559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
9560 file.
9561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
9562 file.
9563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
9564 file.
9565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9566 New file.
9567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9568 New file.
9569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
9570 file.
9571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9572 New file.
9573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
9574 file.
9575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
9576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
9577 file.
9578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9579 New file.
9580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
9581 file.
9582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
9583 file.
9584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
9585 file.
9586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
9587 file.
9588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
9589 file.
9590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9591 New file.
9592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9593 New file.
9594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
9595 file.
9596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9597 New file.
9598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
9599 file.
9600
41d73a1b
JM
96012012-04-28 Joseph Myers <joseph@codesourcery.com>
9602
9603 * conform/conformtest.pl: Fix typo in handling typed-constant from
9604 allow-header.
9605
28aeeda4
JM
96062012-04-27 Joseph Myers <joseph@codesourcery.com>
9607
adae8f5e
JM
9608 * README: Cut down references to pre-2.6 Linux kernels and
9609 Linuxthreads. Update lists of configurations in libc and ports
9610 and sort alphabetically. Say "or newer" with Linux kernel version
9611 requirements.
9612
28aeeda4
JM
9613 * config.h.in [IS_IN_build]: Allow compiling without optimization.
9614
a462cb63
RA
96152012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9616
9617 [BZ #887]
9618 * math/libm-test.inc (logb_test_downward): New test to expose
9619 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
9620 rounding mode.
9621
6ad3493e
JM
96222012-04-27 Joseph Myers <joseph@codesourcery.com>
9623
9624 [BZ #14027]
9625 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
9626 to be done.
9627 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
9628 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
9629
2ce4f015
JM
96302012-04-26 Joseph Myers <joseph@codesourcery.com>
9631
5aeb141a
JM
9632 * sysdeps/unix/i386/brk.S: Remove file.
9633 * sysdeps/unix/i386/dl-brk.S: Likewise.
9634 * sysdeps/unix/i386/pipe.S: Likewise.
9635 * sysdeps/unix/i386/sigreturn.S: Likewise.
9636 * sysdeps/unix/i386/syscall.S: Likewise.
9637 * sysdeps/unix/i386/vfork.S: Likewise.
9638 * sysdeps/unix/i386/wait.S: Likewise.
9639
7143acae
JM
9640 * sysdeps/unix/common/tcsendbrk.c: Move to ...
9641 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
9642
2ce4f015
JM
9643 * configure.in (arm*-none*): Do not allow without
9644 --enable-hacker-mode.
9645 (netbsd*): Remove case setting base_os.
9646 (386bsd*): Likewise.
9647 (freebsd*): Likewise.
9648 (bsdi*): Likewise.
9649 (osf*): Likewise.
9650 (sunos*): Likewise.
9651 (ultrix*): Likewise.
9652 (newsos*): Likewise.
9653 (dynix*): Likewise.
9654 (*bsd*): Likewise.
9655 (sysv*): Likewise.
9656 (isc*): Likewise.
9657 (esix*): Likewise.
9658 (sco*): Likewise.
9659 (minix*): Likewise.
9660 (irix4*): Likewise.
9661 (irix6*): Likewise.
9662 (solaris[2-9]*): Likewise.
9663 (none): Likewise.
9664 * configure: Regenerated.
9665
0ac229c8
AZ
96662012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9667
9668 [BZ #11521]
9669 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
9670 overflow or cancellation in calculating denominator.
9671 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9672 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9673 down expression to avoid unexpected rounding in newer GCCs.
9674 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9675
33f244f4
DM
96762012-04-26 David S. Miller <davem@davemloft.net>
9677
9678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9679 long-double compat symbols.
9680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9693
cfa1f3e8
DM
96942012-04-25 David S. Miller <davem@davemloft.net>
9695
9696 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9697 HWCAP_* values only after the memory barriers have been defined.
9698 (atomic_full_barrier): Define.
9699 (atomic_read_barrier): Define.
9700 (atomic_write_barrier): Define.
9701
6e236b92
SP
97022012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9703
9704 * shlib-versions: Add libgcc_s version information.
9705 * sysdeps/generic/libgcc_s.h: Remove.
9706 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9707 libgcc_s.h.
9708 * sysdeps/gnu/unwind-resume.c: Likewise.
9709 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9710
aab39a09
DM
97112012-04-25 David S. Miller <davem@davemloft.net>
9712
9713 * sysdeps/unix/sparc/brk.S: Delete.
9714 * sysdeps/unix/sparc/dl-brk.S: Delete.
9715 * sysdeps/unix/sparc/pipe.S: Delete.
9716 * sysdeps/unix/sparc/sysdep.S: Delete.
9717 * sysdeps/unix/sparc/sysdep.h: Delete.
9718 * sysdeps/unix/sparc/vfork.S: Delete.
9719 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9720 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9721 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9722 ret_ERRVAL, r0, r1, MOVE): Define.
9723 (JUMPTARGET): Remove.
9724 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9725 sysdeps/unix/sparc/sysdep.h
9726 (ENTRY, END): Remove.
9727 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9728
a3cc4f48
JM
97292012-04-25 Joseph Myers <joseph@codesourcery.com>
9730
2ed8cda2
JM
9731 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9732 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9733 -DIS_IN_build.
9734
35d76d59
JM
9735 * timezone/README: Update upstream location and email address for
9736 tzcode and tzdata.
9737 * timezone/zdump.c: Update from tzcode 2012b.
9738 * timezone/zic.c: Likewise.
9739
a3cc4f48
JM
9740 * configure.in (libc_cv_as_needed): Remove test.
9741 * configure: Regenerated.
9742 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9743 conditional definition.
9744 [$(have-as-needed) != yes] (no-as-needed): Likewise.
9745 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9746 * config.make.in (have-as-needed): Remove variable.
9747
ceab42c3
SP
97482012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9749 Paul Pluzhnikov <ppluzhnikov@google.com>
9750
9751 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9752 strings correctly.
9753
3ce2865f
CLT
97542012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9755
9756 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9757 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9758 * sysdeps/sh/strlen.S: Likewise.
9759
f37e0d68
JM
97602012-04-24 Joseph Myers <joseph@codesourcery.com>
9761
ae186e9a
JM
9762 * sysdeps/unix/fork.S: Remove file.
9763 * sysdeps/unix/i386/fork.S: Likewise.
9764 * sysdeps/unix/sparc/fork.S: Likewise.
9765
b96914af
JM
9766 * sysdeps/unix/system.c: Remove file.
9767 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9768
f37e0d68
JM
9769 * sysdeps/unix/getegid.S: Remove file.
9770 * sysdeps/unix/geteuid.S: Likewise.
9771
87ef29ca
RM
97722012-04-24 Roland McGrath <roland@hack.frob.com>
9773
83bcd236
RM
9774 * scripts/check-localplt.awk: New file.
9775 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9776 of diff.
9777 * scripts/data/localplt-generic.data: Add a comment.
9778
87ef29ca
RM
9779 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9780 NODE when __dir_mkfile failed.
9781 * sysdeps/mach/hurd/symlinkat.c: Likewise.
9782 Reported by Ludovic Courtès <ludo@gnu.org>.
9783
e5a6e567
AJ
97842012-04-24 Andreas Jaeger <aj@suse.de>
9785
9786 * Makerules (common-clean): Also remove gen-as-const-headers
9787 files.
9788
c1820385
JM
97892012-04-24 Joseph Myers <joseph@codesourcery.com>
9790
9791 * Makerules (native-compile): Do not change working directory for
9792 build. Use $(OUTPUT_OPTION) in command.
9793 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9794
94e02fc4
AZ
97952012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9796
9797 [BZ #13886]
9798 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9799 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9800 * math/libm-test.inc (floor_test): Add more tests.
9801 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9802
3a533ca3
JM
98032012-04-24 Joseph Myers <joseph@codesourcery.com>
9804
940ab4b3
JM
9805 * sysdeps/unix/getdents.c: Remove file.
9806 * sysdeps/unix/sysv/getdents.c: Likewise.
9807 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9808
90e037bd
JM
9809 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9810 sysdeps/unix/mman/syscalls.list.
9811 (mmap): Likewise.
9812 (mprotect): Likewise.
9813 (msync): Likewise.
9814 (munmap): Likewise.
9815 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9816 * sysdeps/unix/mman/syscalls.list: Remove.
9817 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9818
3a533ca3
JM
9819 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9820 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9821 * configure: Regenerated.
9822 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9823 $(libgcc_s_suffix).
9824 * config.make.in (libgcc_s_suffix): Remove variable.
9825
1ad743de
JM
98262012-04-23 Joseph Myers <joseph@codesourcery.com>
9827
4ad451e2
JM
9828 * sysdeps/unix/sysv/gethostname.c: Move to ...
9829 * sysdeps/posix/gethostname.c: ... here.
9830
5e37ce39
JM
9831 * sysdeps/unix/execve.S: Remove file.
9832
1ad743de
JM
9833 * sysdeps/unix/_exit.S: Remove file.
9834
4e681b5b
AJ
98352012-04-23 Andreas Jaeger <aj@suse.de>
9836
9837 [BZ #13739]
9838 * manual/Makefile: Remove make dist support, there's no
9839 need for a stand-alone documentation tar ball.
9840 (TEXI2DVI): Define always, it's not in Makeconfig.
9841 (dist): Removed.
9842 (tar-it): Removed.
9843 (edition): Removed.
9844 (glibc-doc-$(edition).tar): Removed
9845 (%.Z): Removed.
9846 (%.gz): Removed.
9847 (%.uu): Removed.
9848 (ETAGS): Remove, it's in Makeconfig.
9849 (move-if-change): Remove, it's in Makeconfig.
9850
c0baea34
PE
98512013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9852
9853 [BZ #13970]
9854 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9855 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9856 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9857 (strtod_l, strtof_l, strtold_l): Remove __wur.
9858 It is not necessarily an error to ignore strtol's return value.
9859 One can reliably look at the stored endptr to decide whether
9860 the number had valid syntax.
9861
7c0616fa
AJ
98622012-04-21 Andreas Jaeger <aj@suse.de>
9863
803cb6b7 9864 [BZ #13739]
7c0616fa
AJ
9865 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9866
b0fe253f
JM
98672012-04-21 Joseph Myers <joseph@codesourcery.com>
9868
9869 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9870 * sysdeps/unix/sysv/Versions: Remove file.
9871
8280f22d
MT
98722012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9873
9874 [BZ #13927]
9875 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9876
75ce411f 98772012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
9878
9879 [BZ #7064]
9880 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9881 version from __vm86.
9882
097d59fa
JM
98832012-04-20 Joseph Myers <joseph@codesourcery.com>
9884
a90f3bcb
JM
9885 * sysdeps/unix/common/lxstat.c: Remove file.
9886 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9887
edc7ea78
JM
9888 * sysdeps/unix/sysv/Makefile: Remove file.
9889
cb78c221
JM
9890 * sysdeps/unix/sysv/direct.h: Remove file.
9891
efa6a45f
JM
9892 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9893 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9894 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9895 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9896 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9897 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9898 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9899
9c9f2d0c
JM
9900 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9901
4541c83b
JM
9902 * sysdeps/unix/xmknod.c: Remove file.
9903 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9904
f5d153a0
JM
9905 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9906
aa746595
JM
9907 * sysdeps/unix/sysv/i386/time.S: Remove file.
9908
cce5905e
JM
9909 * sysdeps/unix/fxstat.c: Remove file.
9910 * sysdeps/unix/xstat.c: Likewise.
9911 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9912
37fa3841
JM
9913 * sysdeps/unix/sysv/sigaction.c: Remove file.
9914
ff1962a3
JM
9915 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9916 (sysdep_headers): Remove variable.
9917 [termio.h not in sysdep_headers] (generated): Likewise.
9918 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9919 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9920 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9921 * sysdeps/unix/sysv/tcflow.c: Likewise.
9922 * sysdeps/unix/sysv/tcflush.c: Likewise.
9923 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9924 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9925 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9926 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9927 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9928
e7740d31
JM
9929 * sysdeps/unix/siglist.c: Remove file.
9930
ee06f18b
JM
9931 * sysdeps/unix/getppid.S: Remove file.
9932
097d59fa
JM
9933 * sysdeps/unix/mkdir.c: Remove file.
9934 * sysdeps/unix/rmdir.c: Likewise.
9935
ff3d51ec
AS
99362012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9937
9938 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9939 ERR_MAX value.
9940 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9941 errlist-compat value.
9942
50f81fd7
DM
99432012-04-18 David S. Miller <davem@davemloft.net>
9944
9945 * sysdeps/generic/memcopy.h (reg_char): Delete.
9946 * debug/strcat_chk.c: Use char, not reg_char.
9947 * debug/strcpy_chk.c: Likewise.
9948 * debug/strncat_chk.c: Likewise.
9949 * debug/strncpy_chk.c: Likewise.
9950 * string/memchr.c: Likewise.
9951 * string/memrchr.c: Likewise.
9952 * string/rawmemchr.c: Likewise.
9953 * string/strcat.c: Likewise.
9954 * string/strchr.c: Likewise.
9955 * string/strchrnul.c: Likewise.
9956 * string/strcmp.c: Likewise.
9957 * string/strcpy.c: Likewise.
9958 * string/strncat.c: Likewise.
9959 * string/strncmp.c: Likewise.
9960 * string/strncpy.c: Likewise.
9961
8ff41c46
WS
99622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9963
9964 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9965 __builtin_memcopy is called when src and dest ranges are known to not
9966 overlap.
9967
6b652f46
WS
99682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9969
9970 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9971 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9972 fwd_align_merge macro call.
9973 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9974 bwd_align_merge macro call.
9975 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9976
b282631e
WS
99772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9978
9979 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9980 bwd_align_merge macros.
9981 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9982 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9983 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9984
95aa737c
DM
99852012-04-18 David S. Miller <davem@davemloft.net>
9986
9987 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9988
7a99a614
AJ
99892012-04-18 Andreas Jaeger <aj@suse.de>
9990
9991 [BZ# 6794]
9992 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9993 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9994 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9995
9996 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9997 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9998 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9999
10000 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10001 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10002 Adjust for changed ldbl-128 files.
10003
10004 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10005 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10006 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10007
e5270c23
DM
100082012-04-17 David S. Miller <davem@davemloft.net>
10009
10010 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10011
fb5e92c9
AS
100122012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10013
10014 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10015 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10016 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10017 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10018 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10019 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10020
76da7265
AZ
100212012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10022
10023 [BZ #6794]
10024 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10025 * math/libm-test.inc: Add ilogb errno and exception tests.
10026 * math/w_ilogb.c: New file: ilogb wrapper.
10027 * math/w_ilogbf.c: New file: ilogbf wrapper.
10028 * math/w_ilogbl.c: New file: ilogbl wrapper.
10029 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10030 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10031 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10032 exception being thrown with 0.0 as argument.
10033 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10034 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10035 exception being thrown with 0.0 as argument.
10036 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10037 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10038 exception being thrown with 0.0 as argument.
10039 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10040 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10041 exception being thrown with 0.0 as argument.
10042 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10043 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 10044 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
10045 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10046 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10047 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10048 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10049 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10050 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10051
0396e69d
PB
100522012-04-17 Petr Baudis <pasky@ucw.cz>
10053
10054 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10055 with altivec.
10056
750b5926
MP
100572012-04-16 Marek Polacek <polacek@redhat.com>
10058
10059 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10060
751728a1
MP
100612012-04-16 Marek Polacek <polacek@redhat.com>
10062
10063 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10064 operands of fdivp instruction.
10065
34a27407
L
100662012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10067
10068 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10069 * elf/tst-auditmod3b.c: Likewise.
10070 * elf/tst-auditmod4b.c: Likewise.
10071 * elf/tst-auditmod5b.c: Likewise.
10072 * elf/tst-auditmod6b.c: Likewise.
10073 * elf/tst-auditmod6c.c: Likewise.
10074 * elf/tst-auditmod7b.c: Likewise.
10075 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10076 * sysdeps/x86_64/preconfigure.in: Likewise.
10077 * sysdeps/x86_64/preconfigure: Regenerated.
10078
7e73e17d
L
100792012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10080
10081 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10082 __ILP32__.
10083
c7a6ab72
AB
100842012-04-13 Antoine Balestrat <merkil33@gmail.com>
10085
10086 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10087 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10088
a9e8e0e0
CL
100892012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10090
10091 [BZ #13973]
10092 * locale/iso-639.def: Fix gl language name. Spotted by
10093 Yaron Shahrabani.
10094
ec98af7d
RM
100952012-04-12 Roland McGrath <roland@hack.frob.com>
10096
10097 [BZ #2074]
10098 * libio/libio.h (__io_write_fn): Update comment.
10099
247c3ede
PB
101002012-04-12 Petr Baudis <pasky@ucw.cz>
10101
10102 [BZ #2074]
10103 * stdio.texi (Hook Functions): The user provided writer function
10104 is not allowed to return -1.
10105
55939d6d
DM
101062012-04-11 David S. Miller <davem@davemloft.net>
10107
10108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10109
90020f5a
MF
101102012-04-11 Mike Frysinger <vapier@gentoo.org>
10111
10112 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10113 Add a leading slash to rtkaio.
10114
288f9098
JM
101152012-04-11 Jim Meyering <meyering@redhat.com>
10116
90020f5a
MF
10117 [BZ #11959]
10118 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10119 It is not necessarily an error to ignore fwrite's return
10120 value. One can reliably use ferror to test for errors after
10121 the fact.
288f9098 10122
4be2b570
L
101232012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10124
10125 * bits/types.h (__snseconds_t): New type.
10126 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10127
10128 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10129 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10130 (__SNSECONDS_T_TYPE): Likewise.
10131 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10132 (__SNSECONDS_T_TYPE): Likewise.
10133 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10134 (__SNSECONDS_T_TYPE): Likewise.
10135
288f9098 101362012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
10137
10138 [BZ #2636]
10139 * manual/time.texi (Processor Time): Return type of times is
10140 elapsed real time since an arbitrary point in the past.
10141 (CPU Time): Move CLK_TCK from here...
10142 (Processor Time): ...to here. Correct description.
10143 * manual/conf.texi (Constants for Sysconf): Correct description of
10144 _SC_CLK_TCK.
10145
d7dd4413
DM
101462012-04-10 David S. Miller <davem@davemloft.net>
10147
10148 [BZ #13967]
10149 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10150 where the is a gap between DT_REL(A) and DT_JMPREL.
10151
b46068fc
L
101522012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10153
10154 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10155 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10156 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10157
73d65cc3
SP
101582012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10159
10160 * elf/dl-support.c (_dl_inhibit_cache): New variable.
10161 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10162 (dl_main): Handle --inhibit-cache.
10163 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10164 _dl_inhibit_cache.
10165 * elf/dl-load.c (_dl_map_object): Use it.
10166 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10167
bcc8d661
JM
101682012-04-09 Joseph Myers <joseph@codesourcery.com>
10169
8f9a2fae
JM
10170 [BZ #13872]
10171 * sysdeps/i386/fpu/e_powl.S (p78): New object.
10172 (__ieee754_powl): Saturate large exponents rather than testing for
10173 overflow of y*log2(x).
10174 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10175 * math/libm-test.inc (pow_test): Do not permit spurious overflow
10176 exceptions.
10177
bcc8d661
JM
10178 [BZ #11521]
10179 * math/s_ctan.c: Include <float.h>.
10180 (__ctan): Avoid internal overflow or cancellation in calculating
10181 denominator.
10182 * math/s_ctanf.c: Likewise.
10183 * math/s_ctanl.c: Likewise.
10184 * math/s_ctanh.c: Likewise.
10185 * math/s_ctanhf.c: Likewise.
10186 * math/s_ctanhl.c: Likewise.
10187 * math/libm-test.inc (ctan_test): Add more tests.
10188 (ctanh_test): Likewise.
10189 * sysdeps/i386/fpu/libm-test-ulps: Update.
10190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10191
823fbbb4
AJ
101922012-04-09 Andreas Jaeger <aj@suse.de>
10193
03879793
AJ
10194 [BZ #6894]
10195 * manual/filesys.texi (Directory Entries): Mention that d_namlen
10196 is an optional BSD extension.
10197
823fbbb4
AJ
10198 [BZ #10254]
10199 * manual/stdio.texi (Opening Streams): Document additional fopen
10200 parameters.
10201
8de131cb
RM
102022012-04-09 Roland McGrath <roland@hack.frob.com>
10203
10204 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10205 %eax without telling the compiler.
10206
c0ed9d7d
CD
102072012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
10208
10209 [BZ # 13963]
10210 * manual/install.texi: Use sourceware.org.
10211
c483f6b4
JM
102122012-04-09 Joseph Myers <joseph@codesourcery.com>
10213
d7dd9453
JM
10214 [BZ #13873]
10215 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
10216 (__ieee754_pow): Generate overflow and underflow using huge*huge
10217 and tiny*tiny rather than just returning constant infinity or zero
10218 for large exponents.
10219 * math/libm-test.inc (pow_test): Require overflow exceptions for
10220 applicable cases of large exponents.
10221
c483f6b4
JM
10222 [BZ #706]
10223 * sysdeps/i386/fpu/e_pow.S (p10): New object.
10224 (__ieee754_pow): Use iterative multiplication algorithm only for
10225 integer exponents with absolute value below 1024. Check for odd
10226 integer exponents when using algorithm for real exponents.
10227 * math/libm-test.inc (pow_test): Add more tests.
10228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10229
d2de7579
JM
102302012-04-08 Joseph Myers <joseph@codesourcery.com>
10231
10232 [BZ #13705]
10233 * math/libm-test.inc (exp_test): Do not allow overflow exception
10234 on underflow test.
10235
f77f1232
AJ
102362012-04-08 Aurelien Jarno <aurelien@aurel32.net>
10237
10238 [BZ #13705]
10239 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
10240 instead of __kernel_standard_f.
10241
3884932b
MF
102422012-04-08 Mike Frysinger <vapier@gentoo.org>
10243
10244 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
10245 * sysdeps/x86_64/memset_chk.S: Likewise.
10246
54472e9c
AJ
102472012-04-08 Andreas Jaeger <aj@suse.de>
10248
6ab0fbfc
AJ
10249 [BZ #10153]
10250 * manual/startup.texi (Environment Access): Describe return value
10251 for putenv and setenv.
10252
61efba8c
AJ
10253 [BZ #6895]
10254 * manual/filesys.texi (Directory Entries): Add description for
10255 DT_LNK.
10256
95c3f29a
AJ
10257 [BZ #6890]
10258 * manual/filesys.texi (Directory Entries): Clarify that it's file
10259 system not operating system in the description of DT_UNKNOWN.
10260
54472e9c
AJ
10261 [BZ #6578]
10262 * manual/syslog.texi (closelog): Fix reference, it's openlog.
10263
624254b1
SC
102642012-04-08 Stephen Compall <s11@member.fsf.org>
10265
10266 [BZ #6649]
10267 * manual/llio.texi (Opening and Closing Files): Add cross
10268 reference to explain mode argument.
10269
1e4920e0
MF
102702012-04-07 Mike Frysinger <vapier@gentoo.org>
10271
10272 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
10273 * sysdeps/x86_64/memset_chk.S: Likewise.
10274
5ed848f3
DM
102752012-04-07 David S. Miller <davem@davemloft.net>
10276
10277 * elf/elf.h (R_SPARC_WDISP10): Define.
10278 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
10279 R_SPARC_SIZE32.
10280 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
10281 R_SPARC_SIZE64 and R_SPARC_H34.
10282
96154cd8
CD
102832012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
10284
10285 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
10286 conditions and remove no longer applicable assertion.
10287
9904dc47
L
102882012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10289
10290 * bits/byteswap.h: Include <features.h>.
10291 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10292 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10293
f8887d0a
L
102942012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10295
10296 * bits/byteswap.h (__bswap_16): Removed.
10297 Include <bits/byteswap-16.h> to get __bswap_16.
10298 * sysdeps/i386/bits/byteswap.h: Likewise.
10299 * sysdeps/s390/bits/byteswap.h: Likewise.
10300 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10301 * bits/byteswap-16.h: New file.
10302 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10303 * sysdeps/s390/bits/byteswap-16.h: Likewise.
10304 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
10305 * string/Makefile (headers): Add bits/byteswap-16.h.
10306
62470f60
PP
103072012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10308
10309 [BZ #13895]
10310 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
10311 extra indirection.
10312 * nss/Makefile (tests-static, tests): Add tst-nss-static.
10313 * nss/tst-nss-static.c: New.
10314
4dad7bab
RM
103152012-04-06 Robert Millan <rmh@gnu.org>
10316
10317 [BZ #6486]
10318 * manual/llio.texi (File Position Primitive): lseek
10319 refers to WHENCE when it really means OFFSET.
10320
e9142a17
AJ
103212012-04-06 Andreas Jaeger <aj@suse.de>
10322
2c040eff
AJ
10323 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
10324 strncmp declarations.
10325
e9142a17
AJ
10326 * abilist/libc.abilist: Add __poll and __ppoll.
10327
ff9f1c5f
DM
103282012-04-05 David S. Miller <davem@davemloft.net>
10329
dcd2ae90
DM
10330 * scripts/check-local-headers.sh: Accept a host triplet in the
10331 path matched by the exclude regexp.
10332
993eb054
DM
10333 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
10334 definition.
10335 * sysdeps/powerpc/powerpc32/dl-machine.h
10336 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
10337 * sysdeps/s390/s390-32/dl-machine.h
10338 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10339 * sysdeps/sparc/sparc32/dl-machine.h
10340 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10341 * sysdeps/sparc/sparc64/dl-machine.h
10342 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10343
ff9f1c5f
DM
10344 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
10345 lazy binding.
48e2e132 10346 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
10347 undefined symbol errors.
10348
48e2e132 10349 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
10350 DT_NEEDED entries.
10351
e80d6f94
MM
103522012-04-05 Michael Matz <matz@suse.de>
10353
10354 [BZ #13592]
10355 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
10356
349fa79f
AJ
103572012-04-05 Andreas Jaeger <aj@suse.de>
10358
10359 [BZ #13908]
10360 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
10361 comment.
10362
f402708f
KK
103632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10364
10365 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
10366 which ROUND is no valid rounding mode.
10367
2ecccfc9
KK
103682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10369
10370 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
10371 read again.
10372 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
10373
8a53f50f
KK
103742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10375
10376 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
10377 an exception using FPU order intentionally.
10378
103792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10380
10381 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
10382 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
10383 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
10384 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
10385
d653abb7
SJ
103862012-04-05 Simon Josefsson <simon@josefsson.org>
10387
10388 [BZ #12340]
10389 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
10390 EINVAL when BUFLEN is too smal.
10391
c3b1bf7d
TS
103922012-04-05 Thomas Schwinge <thomas@codesourcery.com>
10393
10394 [BZ #13553]
10395 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
10396 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
10397
b1aa60f3
AJ
103982012-04-03 Andreas Jaeger <aj@suse.de>
10399
c3b1bf7d 10400 [BZ #13938]
67f60a26
AJ
10401 * manual/setjmp.texi (System V contexts): Fix sentence.
10402
b1aa60f3
AJ
10403 [BZ #13926]
10404 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
10405 New macro for this case.
10406 [!__GNUC__] (__bswap_64): New inline function for this case.
10407 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10408 * bits/byteswap.h: Likewise.
10409 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
10410 ull, guard with __GLIBC_HAVE_LONG_LONG.
10411
10412 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
10413 __GLIBC_HAVE_LONG_LONG.
10414
10415 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
10416 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
10417
39c59c35
TMQMF
104182012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10419
10420 [BZ #13691]
10421 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
10422 inptr and inend, rather than using last_ch.
10423
135ffda8
DM
104242012-04-02 David S. Miller <davem@davemloft.net>
10425
10426 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
10427 * stdio-common/printf-parse.h (read_int): Change return type to
10428 'int', return -1 on INT_MAX overflow.
10429 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
10430 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
10431 overflows INT_MAX. Check for overflow of in-format-string precision
10432 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
10433 SIZE_MAX not INT_MAX for integer overflow test.
10434 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
10435 skip the construct in the format string but do not record anything.
10436 * stdio-common/bug22.c: Adjust to test both width/prevision
10437 INT_MAX overflow as well as total length INT_MAX overflow. Check
10438 explicitly for proper errno values.
10439
228c019e
TS
104402012-04-02 Thomas Schwinge <thomas@codesourcery.com>
10441
302cadd3
TS
10442 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
10443 CHAR_MAX.
10444 * string/test-strcmp.c [! WIDE]: Likewise.
10445 * time/tst-mktime2.c: Likewise for INT_MAX.
10446 * string/test-string.h: #include <sys/param.h> for MIN.
10447
228c019e
TS
10448 * csu/init-first.c (__libc_init_first): Call __ctype_init.
10449 * sysdeps/i386/init-first.c (init): Likewise.
10450 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
10451 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
10452 * sysdeps/sh/init-first.c (init): Likewise.
10453
cfa633f5
UD
104542012-04-01 Ulrich Drepper <drepper@gmail.com>
10455
10456 * po/ru.po: Update from translation team.
d1635ef8 10457 * po/vi.po: Likewise.
cfa633f5 10458
6cd0a5ea
SP
104592012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10460
10461 * resolv/nss_dns/dns-host.c: Merge copyright years.
10462
4b43400f
LD
104632012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10464
10465 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10466 Optimize memcpy with prefetch if
10467 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
10468 src, dst pointers have unequal 16 byte alignments.
10469
48c41d04
SP
104702012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10471
10472 [BZ #13928]
10473 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
10474 from a CNAME entry and return the minimum ttl for the query.
10475 (gaih_getanswer_slice): Likewise.
10476
b8dc394d
JL
104772012-03-30 Jeff Law <law@redhat.com>
10478
10479 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
10480 due to long keys.
10481 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10482 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10483
2f5a5ed0
JL
10484 * resolv/nss_dns/dns-host.c: Update copyright year.
10485
1d39e359
UD
104862012-03-30 Ulrich Drepper <drepper@gmail.com>
10487
c030f70c 10488 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 10489 requests to save a system call. Fix check that all bytes are sent.
c030f70c 10490
1d39e359
UD
10491 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
10492 comments for sendmmsg.
10493
104942012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
10495
10496 [BZ #13691]
10497 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
10498 with only 1 character between 0x0041 and 0x01b0.
10499 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
10500 * wcsmbs/tst-mbsnrtowcs.c: New file.
10501
20fde227
DM
105022012-03-29 David S. Miller <davem@davemloft.net>
10503
10504 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
10505 small copies by hand.
10506
984a4237
JL
105072012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10508
10509 [BZ #13761]
10510 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
10511 _nss_compat_initgroups_dyn): Fall back to malloc/free
10512 for large group memberships.
10513
18c9d62b
DM
105142012-03-28 David S. Miller <davem@davemloft.net>
10515
88d85d4f
DM
10516 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
10517 that branches into memcpy.
10518 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
10519 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10520 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10521 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10522 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
10523 bits.
10524 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
10525 implementation too.
10526 * sysdeps/sparc/mempcpy.S: New file.
10527
e5aa83e1
DM
10528 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
10529 the IFUNC routine in the libc case.
10530 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10531
88570753
DM
10532 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
10533 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
10534 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
10535 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
10536 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
10537 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
10538 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
10539 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
10540
249d7567
DM
10541 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
10542 loop to 256 bytes instead of 64 bytes and fix test signedness.
10543
18c9d62b
DM
10544 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
10545 * sysdeps/sparc/sparc32/Makefile: rather than here...
10546 * sysdeps/sparc/sparc64/Makefile: and here.
10547
05f3d1f6
UD
105482012-03-28 Ulrich Drepper <drepper@gmail.com>
10549
10550 * malloc/mallocbug.c: Avoid warnings about unused variables.
10551
86ae07a8
JL
105522012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10553
10554 [BZ #13760]
10555 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
10556 in the right place. Discard and retry query if response is
10557 larger than input buffer size.
10558
41bf21a1
JM
105592012-03-28 Joseph Myers <joseph@codesourcery.com>
10560
d6270972
JM
10561 [BZ #369]
10562 [BZ #2678]
10563 [BZ #3866]
10564 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
10565 x for large integer exponent.
10566 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10567 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
10568 sign of result as needed afterwards.
10569 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10570 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
10571 result for underflowing pow the same as for overflow.
10572 (__kernel_standard_l): Handle powl overflow and underflow here
10573 rather than calling __kernel_standard.
10574 * math/libm-test.inc (pow_test): Add more tests.
10575
414fca03 10576 [BZ #3868]
41bf21a1
JM
10577 [BZ #13879]
10578 [BZ #13910]
10579 [BZ #13911]
10580 [BZ #13912]
10581 [BZ #13913]
10582 [BZ #13915]
10583 [BZ #13916]
10584 [BZ #13917]
10585 [BZ #13918]
10586 [BZ #13919]
10587 [BZ #13920]
10588 [BZ #13921]
10589 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
10590 * sysdeps/ieee754/k_standard.c: Include <float.h>.
10591 (__kernel_standard_l): New function.
10592 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
10593 __kernel_standard.
10594 * math/w_acosl.c (__acosl): Likewise.
10595 * math/w_asinl.c (__asinl): Likewise.
10596 * math/w_atan2l.c (__atan2l): Likewise.
10597 * math/w_atanhl.c (__atanhl): Likewise.
10598 * math/w_coshl.c (__coshl): Likewise.
10599 * math/w_exp10l.c (__exp10l): Likewise.
10600 * math/w_exp2l.c (__exp2l): Likewise.
10601 * math/w_fmodl.c (__fmodl): Likewise.
10602 * math/w_hypotl.c (__hypotl): Likewise.
10603 * math/w_j0l.c (__j0l, __y0l): Likewise.
10604 * math/w_j1l.c (__j1l, __y1l): Likewise.
10605 * math/w_jnl.c (__jnl, __ynl): Likewise.
10606 * math/w_lgammal.c (__lgammal): Likewise.
10607 * math/w_log10l.c (__log10l): Likewise.
10608 * math/w_log2l.c (__log2l): Likewise.
10609 * math/w_logl.c (__logl): Likewise.
10610 * math/w_powl.c (__powl): Likewise.
10611 * math/w_remainderl.c (__remainderl): Likewise.
10612 * math/w_scalbl.c (sysv_scalbl): Likewise.
10613 * math/w_sinhl.c (__sinhl): Likewise.
10614 * math/w_sqrtl.c (__sqrtl): Likewise.
10615 * math/w_tgammal.c (__tgammal): Likewise.
10616 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
10617 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
10618 * math/libm-test.inc (acos_test): Add more tests.
10619 (acosh_test): Likewise.
10620 (asin_test): Likewise.
10621 (atanh_test): Likewise.
10622 (exp_test): Likewise.
10623 (exp10_test): Likewise.
10624 (exp2_test): Likewise.
10625 (expm1_test): Likewise.
10626 (lgamma_test): Likewise.
10627 (log_test): Likewise.
10628 (log10_test): Likewise.
10629 (log1p_test): Likewise.
10630 (log2_test): Likewise.
10631 (pow_test): Do not allow some spurious overflow exceptions.
10632 (sqrt_test): Add more tests.
10633 (tgamma_test): Likewise.
10634 (y0_test): Likewise.
10635 (y1_test): Likewise.
10636 (yn_test): Likewise.
10637
dd62fda6
AB
106382012-03-27 Anton Blanchard <anton@samba.org>
10639
10640 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
10641 MAP_HUGETLB.
10642 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10643 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10644 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10645
1e3cdfda
AJ
106462012-03-27 David S. Miller <davem@davemloft.net>
10647
b855ab85
DM
10648 * conform/Makefile: Run run-conformtest.sh using $(BASH).
10649
1e3cdfda
AJ
10650 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
10651 have-as-vis3 check.
10652
106532012-03-27 Andreas Jaeger <aj@suse.de>
10654
10655 * sysdeps/x86_64/elf/configure.in: Moved to ...
10656 * sysdeps/x86_64/configure.in: ... here.
10657 * sysdeps/x86_64/elf/start.S: Moved to ...
10658 * sysdeps/x86_64/start.S: ... here.
10659 * sysdeps/x86_64/elf/configure: Delete.
10660
10661 * sysdeps/x86_64/configure.in: Merge contents from
10662 sysdeps/i386/configure.in (without i686 check).
10663
10664 * sysdeps/i386/elf/Versions: Merge into ...
10665 * sysdeps/i386/Versions: ... this.
10666 * sysdeps/i386/elf/Versions: Delete file.
10667 * sysdeps/i386/elf/start.S: Moved to ...
10668 * sysdeps/i386/start.S: ...here.
10669 * sysdeps/i386/elf/configure.in: Merge into...
10670 * sysdeps/i386/configure.in: ...here.
10671 * sysdeps/i386/elf/configure.in: Delete file.
10672 * sysdeps/i386/elf/configure: Delete file.
10673
10674 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10675 * debug/backtracesyms.c: ... here.
10676 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10677 * debug/backtracesymsfd.c: ... here.
10678 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10679 * sysdeps/generic/ifunc-sel.h: ... here.
10680
10681 * sysdeps/unix/i386/start.c: Delete file.
10682 * sysdeps/unix/sparc/start.c: Delete file.
10683 * sysdeps/unix/start.c: Delete file.
10684
10685 * sysdeps/sh/elf/configure.in: Moved to ...
10686 * sysdeps/sh/configure.in: ... here.
10687 * sysdeps/sh/elf/start.S: Moved to ...
10688 * sysdeps/sh/start.S: ... here.
10689 * sysdeps/sh/elf/configure: Delete file.
10690
10691 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10692 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10693 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10694 * sysdeps/powerpc/powerpc64/entry.h: ... here.
10695 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10696 * sysdeps/powerpc/powerpc64/start.S: here.
10697 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10698 * sysdeps/powerpc/powerpc64/Makefile: ... this.
10699 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10700 * sysdeps/powerpc/powerpc64/configure.in: ... this.
10701 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10702
10703 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10704 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10705 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10706 * sysdeps/powerpc/powerpc32/start.S: ... here.
10707 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10708 * sysdeps/powerpc/powerpc32/configure.in: ... this.
10709 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10710
10711 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10712 * sysdeps/powerpc/ifunc-sel.h: ... here.
10713 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10714 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10715
10716 * sysdeps/sparc/elf/configure.in: Moved to ...
10717 * sysdeps/sparc/configure.in: ... here.
10718 * sysdeps/sparc/elf/configure: Delete file.
10719 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10720 * sysdeps/sparc/sparc32/start.S: ... here.
10721 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10722 * sysdeps/sparc/sparc64/start.S: ... here.
10723 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10724 * sysdeps/sparc/sparc32/Makefile: ... this.
10725 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10726 * sysdeps/sparc/sparc64/Makefile: ... this.
10727
10728 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10729 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10730 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10731 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10732 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10733 * sysdeps/s390/s390-32/setjmp.S: ... here.
10734 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10735 * sysdeps/s390/s390-32/configure.in: ... here.
10736 * sysdeps/s390/s390-32/elf/configure: Delete file.
10737 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10738 * sysdeps/s390/s390-32/start.S: ... here.
10739
10740 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10741 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10742 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10743 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10744 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10745 * sysdeps/s390/s390-64/setjmp.S: ... here.
10746 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10747 * sysdeps/s390/s390-64/configure.in: ... here
10748 * sysdeps/s390/s390-64/elf/configure: Delete file.
10749 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10750 * sysdeps/s390/s390-64/start.S: ... here.
10751 * sysdeps/s390/s390-64/elf/configure: Delete.
10752
10753 * configure.in: Remove support for elf directories in sysdeps.
10754
10755 * configure: Regenerated.
10756 * sysdeps/i386/configure: Regenerated.
10757 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10758 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10759 * sysdeps/s390/s390-32/configure: Regenerated.
10760 * sysdeps/s390/s390-64/configure: Regenerated.
10761 * sysdeps/sh/configure: Regenerated.
10762 * sysdeps/sparc/configure: Regenerated.
10763 * sysdeps/x86_64/configure: Regenerated.
10764
a3f61311
AS
107652012-03-26 Andreas Schwab <schwab@linux-m68k.org>
10766
c876e002
AS
10767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10768
a3f61311
AS
10769 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10770 denormal result into account.
10771
ac4c54f0
RM
107722012-03-25 Roland McGrath <roland@hack.frob.com>
10773
10774 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10775 Reported by Allan McRae <allan@archlinux.org>.
10776
6a9b9c02
JL
107772012-03-23 Jeff Law <law@redhat.com>
10778
10779 * nss/getnssent.c (__nss_getent): Fix typo.
10780
4c42a0c1
DM
107812012-03-23 David S. Miller <davem@davemloft.net>
10782
10783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10784
1532c7ac
L
107852012-03-23 H.J. Lu <hongjiu.lu@intel.com>
10786
10787 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10788 to pad to uint64_t for each field.
10789 (dl_tls_index): Replace unsigned long with uint64_t.
10790
3ff42526
PP
107912012-03-23 Daniel Jacobowitz <dmj@google.com>
10792 Paul Pluzhnikov <ppluzhnikov@google.com>
10793
10794 [BZ #6528]
10795 * grp/Makefile (otherlibs): Don't set it.
10796 * inet/Makefile (otherlibs): Likewise.
10797 * login/Makefile (otherlibs): Likewise.
10798 * nscd/Makefile (otherlibs): Likewise.
10799 * posix/Makefile (otherlibs): Likewise.
10800 * pwd/Makefile (otherlibs): Likewise.
10801 * rt/Makefile (otherlibs): Likewise.
10802 * sunrpc/Makefile (otherlibs): Likewise.
10803 * nss/Makefile (otherlibs): Likewise.
10804 Add libnss_files to routines and static-only-routines.
10805 ($(objpfx)getent): Remove rule.
10806 * resolv/Makefile: Add libnss_dns and libresolv to routines and
10807 static-only-routines.
10808
7c69cd14
JM
108092012-03-22 Joseph Myers <joseph@codesourcery.com>
10810
10811 [BZ #13892]
10812 * math/s_cexp.c: Include <float.h>.
10813 (__cexp): Handle exp result overflowing not necessarily
10814 overflowing both real and imaginary parts of result.
10815 * math/s_cexpf.c: Likewise.
10816 * math/s_cexpl.c: Likewise.
10817 * math/libm-test.inc (cexp_test): Add more tests.
10818 * sysdeps/i386/fpu/libm-test-ulps: Update.
10819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10820
81b035fe
L
108212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10822
10823 * include/link.h (ELFW): New macro.
10824 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10825 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10826
1da7940c
L
108272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10828
10829 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10830 with uint64_t.
10831
b749dbb9
L
108322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10833
10834 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10835 declaration.
10836 (struct La_x32_retval): Likewise.
10837
2ff87f3f
L
108382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10839
10840 * sysdeps/x86_64/preconfigure.in: New file.
10841 * sysdeps/x86_64/preconfigure: New generated file.
10842
c0df8e69
JM
108432012-03-22 Joseph Myers <joseph@codesourcery.com>
10844
48e44791
JM
10845 [BZ #13824]
10846 * math/e_exp2l.c: Include <float.h>.
10847 (__ieee754_exp2l): Handle overflow and underflow cases
10848 separately. Only pass fractional part of argument to
10849 __ieee754_expl.
10850 * math/libm-test.inc (exp2_test): Add more tests.
10851
c0df8e69
JM
10852 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10853 negating x to take absolute value.
10854 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10855 Likewise.
10856 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10857 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10858 Likewise.
10859 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10860 computing low part if x was negated.
10861 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10862
c8e43ba7
L
108632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10864
10865 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10866 la_x32_gnu_pltexit.
10867 (pltexit): Cast int_retval to ptrdiff_t.
10868 * elf/tst-auditmod3b.c: Likewise.
10869 * elf/tst-auditmod4b.c: Likewise.
10870 * elf/tst-auditmod5b.c: Likewise.
10871 * elf/tst-auditmod6b.c: Likewise.
10872 * elf/tst-auditmod6c.c: Likewise.
10873 * elf/tst-auditmod7b.c: Likewise.
10874
10875 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10876 and x32_gnu_pltexit.
10877
10878 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10879 __ELF_NATIVE_CLASS.
10880 (La_x32_regs): New macro.
10881 (La_x32_retval): Likewise.
10882 (la_x32_gnu_pltenter): New function prototype.
10883 (la_x32_gnu_pltexit): Likewise.
10884
7998fa78
AS
108852012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10886
dcb33988
AS
10887 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10888 exponent.
10889
233fc563
AS
10890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10891
7998fa78
AS
10892 * configure.in (libc_cv_cc_nofma): Check for option to disable
10893 generation of FMA instructions.
10894 * configure: Regenerate.
10895 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10896 * sysdeps/ieee754/dbl-64/Makefile: New file.
10897 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10898 Remove brandred-fma4.
10899 (CFLAGS-brandred-fma4.c): Remove.
10900 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10901 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10902 define.
10903 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10904 define.
10905
8e95c99a
L
109062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10907
10908 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10909 LLONG_MAX != LONG_MAX.
10910 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10911 (_fitoa_word): Likewise.
10912 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10913 LLONG_MAX != LONG_MAX.
10914 * stdio-common/_itowa.h: Include <_itoa.h>.
10915 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10916 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10917 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10918 only if not defined.
10919 (_ITOA_WORD_TYPE): Likewise.
10920 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10921 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10922
6f4db457
DM
109232012-03-21 David S. Miller <davem@davemloft.net>
10924
10925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10926
7785fe5a
L
109272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10928
10929 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10930 of x86_64 when setting libc_cv_slibdir, libdir and
10931 libc_cv_localedir.
10932 * sysdeps/unix/sysv/linux/configure: Regenerated.
10933
4535cd55
JM
109342012-03-21 Joseph Myers <joseph@codesourcery.com>
10935
10936 * manual/lang.texi (Old Varargs): Remove section.
10937 (How Variadic): Update menu.
10938 (va_start): Do not mention varargs.h.
10939
17228132
TS
109402012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10941 Joseph Myers <joseph@codesourcery.com>
10942
10943 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10944 link test.
10945 * configure: Regenerated.
10946
8149f976
TS
109472012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10948
05f3d1f6
UD
10949 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10950 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10951 conformtest.pl
8149f976 10952
1a4ac776
JM
109532012-03-21 Joseph Myers <joseph@codesourcery.com>
10954
be22ce65
JM
10955 * NOTES: Remove.
10956 * Makefile (files-for-dist): Remove NOTES.
10957 (NOTES): Remove rule.
10958 * README: Don't refer to NOTES.
10959 * manual/creature.texi: Don't include macros.texi.
10960 * manual/intro.texi (creature.texi): Remove comment referring to
10961 NOTES.
10962
40b601fb
JM
10963 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10964 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10965 * configure: Regenerated.
10966 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10967 LIBC_TRY_CC_OPTION.
10968 (libc_cv_as_i686): Likewise.
10969 (libc_cv_cc_avx): Likewise.
10970 (libc_cv_cc_sse2avx): Likewise.
10971 (libc_cv_cc_fma4): Likewise.
10972 (libc_cv_cc_novzeroupper): Likewise.
10973 * sysdeps/i386/configure: Regenerated.
10974
1a4ac776
JM
10975 [BZ #13883]
10976 * sysdeps/i386/fpu/s_cexp.S: Remove.
10977 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10978 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10979 * math/libm-test.inc (cexp_test): Add more tests.
10980 * sysdeps/i386/fpu/libm-test-ulps: Update.
10981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10982
a458e7fe
AM
109832012-03-21 Allan McRae <allan@archlinux.org>
10984
10985 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10986
0cb7efc5
JM
109872012-03-21 Joseph Myers <joseph@codesourcery.com>
10988
10989 [BZ #13871]
10990 * math/w_exp2.c: Do not include <float.h>.
10991 (o_threshold, u_threshold): Remove.
10992 (__exp2): Calculate result before checking finiteness and calling
10993 __kernel_standard.
10994 * math/w_exp2f.c: Likewise.
10995 * math/w_exp2l.c: Likewise.
10996 * math/libm-test.inc (exp2_test): Require overflow exception for
10997 1e6 input.
2460d3aa
JM
10998
10999 [BZ #3866]
11000 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11001 range of signed 64-bit integers before using fistpll. Remove
11002 checks for whether integers fit in mantissa bits.
11003 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11004 the range of signed 32-bit integers before using fistpl. Remove
11005 checks for whether integers fit in mantissa bits.
11006 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11007 (__ieee754_powl): Test for y outside the range of signed 64-bit
11008 integers before using fistpll. Reduce 64-bit values to 63-bit
11009 ones as needed.
11010 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11011 divide-by-zero is raised for zero to large negative powers.
11012 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11013 (__ieee754_powl): Test for y outside the range of signed 64-bit
11014 integers before using fistpll. Reduce 64-bit values to 63-bit
11015 ones as needed.
11016 * math/libm-test.inc (pow_test): Add more tests.
11017
eb96ffb0
L
110182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11019
11020 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11021 <stdio-common/_itoa.h>.
11022 * debug/segfault.c: Likewise.
11023 * elf/dl-cache.c: Likewise.
11024 * elf/dl-minimal.c: Likewise.
11025 * elf/dl-misc.c: Likewise.
11026 * elf/dl-sysdep.c: Likewise.
11027 * elf/dl-version.c: Likewise.
11028 * elf/rtld.c: Likewise.
11029 * hurd/hurdsock.c: Likewise.
11030 * hurd/lookup-retry.c: Likewise.
11031 * malloc/malloc.c: Likewise.
11032 * malloc/mtrace.c: Likewise.
11033 * nscd/nscd_getgr_r.c: Likewise.
11034 * nscd/nscd_getpw_r.c: Likewise.
11035 * nscd/nscd_getserv_r.c: Likewise.
11036 * posix/getopt_init.c: Likewise.
11037 * posix/wordexp.c: Likewise.
11038 * stdio-common/_itoa.c: Likewise.
11039 * stdio-common/printf_fphex.c: Likewise.
11040 * stdio-common/vfprintf.c: Likewise.
11041 * string/_strerror.c: Likewise.
11042 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11043 * sysdeps/i386/i686/hp-timing.h: Likewise.
11044 * sysdeps/mach/_strerror.c: Likewise.
11045 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11046 * sysdeps/mach/hurd/sethostid.c: Likewise.
11047 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11048 * sysdeps/mach/xpg-strerror.c: Likewise.
11049 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11050 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11051 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11052 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11053 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11054 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11055 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11056 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11057 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11058 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11059 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11060 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11061 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11062 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11063 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11064 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11065 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11066 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11067 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11068 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11069 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11070
11071 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11072
11073 * stdio-common/_itoa.h: Moved to ...
11074 * sysdeps/generic/_itoa.h: Here.
11075
11076 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11077
11078 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11079 instead of "_itoa.h" and "_itowa.h".
11080 * stdio-common/vfprintf.: Likewise.
11081
d1af992d
L
110822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11083
11084 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11085 <bits/wordsize.h>.
11086 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11087 (__signbit): Likwise.
11088 (llrintf): Likwise.
11089 (llrint): Likwise.
11090
114883e0
L
110912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11092
11093 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11094 __WORDSIZE != 64.
11095
c135cc1b
JM
110962012-03-20 Joseph Myers <joseph@codesourcery.com>
11097
11098 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11099 OVERFLOW_EXCEPTION_OK.
11100 * math/libm-test.inc ("Philosophy"): Update comment about
11101 exception testing.
11102 (OVERFLOW_EXCEPTION): Define.
11103 (OVERFLOW_EXCEPTION_OK): Likewise.
11104 (INVALID_EXCEPTION_OK): Renumber.
11105 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11106 (IGNORE_ZERO_INF_SIGN): Likewise.
11107 (test_exceptions): Handle FE_OVERFLOW.
11108 (exp10_test): Expect overflow exceptions.
11109 (exp2_test): Likewise.
11110 (expm1_test): Likewise.
11111 (nextafter_test): Likewise.
11112 (pow_test): Likewise.
11113 (scalbn_test): Likewise.
11114 (scalbln_test): Likewise.
11115
95443d88
L
111162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11117
11118 * sysdeps/x86_64/bits/atomic.h
11119 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11120 64bit integer.
11121 (atomic_exchange_acq): Likewise.
11122 (__arch_exchange_and_add_body): Likewise.
11123 (__arch_add_body): Likewise.
11124 (atomic_add_negative): Likewise.
11125 (atomic_add_zero): Likewise.
11126
490df6c4
L
111272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11128
c2722551 11129 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
11130 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11131
5e52b189
L
111322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11133
11134 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11135 Check __x86_64__ instead of __WORDSIZE.
11136
a9879d4c
L
111372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11138
11139 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11140
5df98260
DM
111412012-03-19 David S. Miller <davem@davemloft.net>
11142
e1497744
DM
11143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11144
5df98260
DM
11145 * sysdeps/sparc/fpu/fenv_private.h: New file.
11146 * sysdeps/sparc/fpu/math_private.h: Use it.
11147 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11148 Remove.
11149 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11150 (libc_feholdexcept_setroundl): Remove.
11151 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11152 Remove.
11153 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11154 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11155
b4c35121
L
111562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11157
11158 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11159 int64_t instead of long int.
11160 (INSERT_WORDS64): Likwise.
11161
56965fd7
L
111622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11163
11164 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11165 _Unwind_GetCFA return to _Unwind_Ptr first.
11166
83d1aec8
JM
111672012-03-19 Joseph Myers <joseph@codesourcery.com>
11168
1897ad44
JM
11169 [BZ #13629]
11170 * math/s_clog.c: Include <float.h>.
11171 (__clog): Scale large or subnormal inputs.
11172 * math/s_clogf.c: Likewise.
11173 * math/s_clogl.c: Likewise.
11174 * math/s_clog10.c: Include <float.h>.
11175 (M_LOG10_2): Define.
11176 (__clog10): Scale large or subnormal inputs.
11177 * math/s_clog10f.c: Likewise.
11178 * math/s_clog10l.c: Likewise.
11179 * math/libm-test.inc (clog_test): Add more tests.
11180 (clog10_test): Likewise.
11181 * sysdeps/i386/fpu/libm-test-ulps: Update.
11182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11183
7726d6a9
JM
11184 [BZ #11451]
11185 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11186 x and y.
11187 * math/libm-test.inc (atan2_test): Add another test.
11188
83d1aec8
JM
11189 * Makerules (common-objdir-compile): Remove.
11190 * sysdeps/unix/Makefile (config-generated): Do not add
11191 $(unix-generated) to variable.
11192 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11193 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11194 Remove rule.
11195 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11196 Likewise.
11197 [generic bits/local_lim.h] (before-compile): Do not append to
11198 variable.
11199 [generic bits/local_lim.h] (common-generated): Likewise.
11200 [generic sys/param.h] (before-compile): Do not append to variable.
11201 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11202 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11203 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11204 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11205 include.
11206 [generic sys/param.h] (sys/param.h-includes): Remove variable.
11207 [generic sys/param.h] (sys/param.h-includes): Remove rule.
11208 [generic sys/param.h] ($(addprefix
11209 $(common-objpfx),$(sys/param.h-includes))): Likewise.
11210 [generic sys/param.h] (common-generated): Do not append to
11211 variable.
11212 [generic sys/param.h] (sysdep_headers): Likewise.
11213 [generic bits/errno.h] (before-compile): Do not append to
11214 variable.
11215 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
11216 rule.
11217 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
11218 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
11219 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
11220 [generic bits/errno.h] (common-generated): Do not append to
11221 variable.
11222 [generic bits/ioctls.h] (before-compile): Do not append to
11223 variable.
11224 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
11225 rule.
11226 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
11227 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
11228 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
11229 rule.
11230 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
11231 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
11232 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
11233 [generic bits/ioctls.h] (common-generated): Do not append to
11234 variable.
11235 [generic sys/syscall.h] (syscall.h): Remove variable.
11236 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
11237 rule.
11238 [generic sys/syscall.h] (before-compile): Do not append to
11239 variable.
11240 [generic sys/syscall.h] (common-generated): Likewise.
11241 * sysdeps/unix/errnos-tmpl.c: Remove file.
11242 * sysdeps/unix/errnos.awk: Likewise.
11243 * sysdeps/unix/ioctls-tmpl.c: Likewise.
11244 * sysdeps/unix/ioctls.awk: Likewise.
11245 * sysdeps/unix/mk-local_lim.c: Likewise.
11246 * sysdeps/unix/snarf-ioctls: Likewise.
11247
4851a949
RH
112482012-03-19 Richard Henderson <rth@twiddle.net>
11249
bd37f2ee
RH
11250 * sysdeps/i386/fpu/fenv_private.h: New file.
11251 * sysdeps/i386/fpu/math_private.h: Use it.
11252 (math_opt_barrier, math_force_eval): Remove.
11253 (libc_feholdexcept_setround_53bit): Remove.
11254 (libc_feupdateenv_53bit): Remove.
11255 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11256 (math_opt_barrier, math_force_eval): Remove.
11257 (libc_feholdexcept): Remove.
11258 (libc_feholdexcept_setround): Remove.
11259 (libc_fetestexcept, libc_fesetenv): Remove.
11260 (libc_feupdateenv_test): Remove.
11261 (libc_feupdateenv, libc_feholdsetround): Remove.
11262 (libc_feresetround): Remove.
11263
d0adc922
RH
11264 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
11265 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11266
0fe0f1f8
RH
11267 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
11268 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
11269 (libc_feupdateenv_testl): New.
11270 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
11271 (libc_feupdateenv_testf): New.
11272 (libc_feupdateenv): Use libc_feupdateenv_test.
11273 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
11274 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
11275
eb92c487
RH
11276 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
11277 (libc_feholdsetroundf, libc_feholdsetroundl): New.
11278 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
11279 (libc_feresetround_noex): New.
11280 (libc_feresetround_noexf): New.
11281 (libc_feresetround_noexl): New.
11282 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
11283 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
11284 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
11285 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
11286 SET_RESTORE_ROUND.
11287 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11288 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
11289 (__cos): Likewise.
11290 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
11291 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11292 SET_RESTORE_ROUND_NOEX.
11293 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
11294 SET_RESTORE_ROUND_NOEXF.
11295 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
11296 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
11297 (libc_feholdsetroundf): New.
11298 (libc_feresetround, libc_feresetroundf): New.
11299
7d2e8012
RH
11300 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
11301 (libc_feholdexcept_setround_53bit): Convert from macro to function.
11302 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
11303
b4dabbb4
RH
11304 * sysdeps/generic/math_private.h: Include <fenv.h>.
11305 (default_libc_feholdexcept): New.
11306 (default_libc_feholdexcept_setround): New.
11307 (default_libc_fesetenv, default_libc_feupdateenv): New.
11308 (libc_feholdexcept): Only define if undefined.
11309 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
11310 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
11311 (libc_feholdexcept_setroundl): Likewise.
11312 (libc_feholdexcept_setround_53bit): Likewise.
11313 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
11314 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
11315 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
11316 (libc_feupdateenv_53bit): Likewise.
11317 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
11318 (libc_feholdexcept): Convert from macro to inline function.
11319 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
11320 (libc_fesetenv, libc_feupdateenv): Likewise.
11321
4851a949
RH
11322 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
11323 not previously defined.
11324 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
11325 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
11326 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
11327 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
11328 * sysdeps/ieee754/flt-32/math_private.h: New file.
11329 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
11330 math_private.h below SET_FLOAT_WORD.
11331 (__isnan, __isinf_ns, __finite): Remove.
11332 (__isnanf, __isinf_nsf, __finitef): Remove.
11333
e79d442e
AS
113342012-03-18 Andreas Schwab <schwab@linux-m68k.org>
11335
11336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11337
90b80344
DM
113382012-03-17 David S. Miller <davem@davemloft.net>
11339
11340 [BZ #6471]
11341 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
11342 for 2.16.
11343
edc21804
DM
113442012-03-16 David S. Miller <davem@davemloft.net>
11345
77e927af
DM
11346 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
11347 warnings.
11348
374976dd
DM
11349 [BZ #6471]
11350 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
11351 properly.
11352 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
11353 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
11354 sysdep_routines when subdir is sysvipc.
11355 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
11356 __getshmlba helper.
11357
edc21804
DM
11358 * sysdeps/sparc/fpu/libm-test/ulps: Update.
11359
473c3ef3
L
113602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11361
11362 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
11363 [__LP64__].
11364
eb0f39b6
L
113652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11366
11367 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
11368 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
11369 (__lround): Renamed to ...
11370 (__llround): This. Replace long int with long long int.
11371 Define lround functions as aliases of llround functions.
11372 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
11373
6b6cd74b
L
113742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11375
11376 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
11377 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
11378 adresses to uintptr_t. Replace "long int" and "unsigned long
11379 int" with "greg_t" on va_arg.
11380
f1a77b01
L
113812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11382
11383 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
11384 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
11385
11386 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
11387 Move e_machine check before EI_CLASS check. Handle x32
11388 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
11389 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
11390 SKIP_EM_IA_64 and include
11391 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
11392
11393 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
11394 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
11395 (add_system_dir): New macro.
11396
11397 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
11398 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
11399
11b90b9f
JM
114002012-03-16 Joseph Myers <joseph@codesourcery.com>
11401
c36e1d23
JM
11402 [BZ #2551]
11403 [BZ #2552]
11404 [BZ #2553]
11405 [BZ #2554]
11406 [BZ #2562]
11407 [BZ #2563]
11408 [BZ #2565]
11409 [BZ #2566]
11410 [BZ #2576]
11411 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
11412 (y0): Likewise.
11413 * math/w_j0f.c (j0f): Likewise.
11414 (y0f): Likewise.
11415 * math/w_j0l.c (__j0l): Likewise.
11416 (__y0l): Likewise.
11417 * math/w_j1.c (j1): Likewise.
11418 (y1): Likewise.
11419 * math/w_j1f.c (j1f): Likewise.
11420 (y1f): Likewise.
11421 * math/w_j1l.c (__j1l): Likewise.
11422 (__y1l): Likewise.
11423 * math/w_jn.c (jn): Likewise.
11424 (yn): Likewise.
11425 * math/w_jnf.c (jnf): Likewise.
11426 (ynf): Likewise.
11427 * math/w_jnl.c (__jnl): Likewise.
11428 (__ynl): Likewise.
11429 * math/libm-test.inc (j0_test): Add more tests.
11430 (j1_test): Likewise.
11431 (jn_test): Likewise. Add trailing semicolon to existing test.
11432 (y0_test): Likewise.
11433 (y1_test): Likewise.
11434 * sysdeps/i386/fpu/libm-test-ulps: Update.
11435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11436
11b90b9f
JM
11437 [BZ #13851]
11438 [BZ #13854]
11439 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11440 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
11441 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
11442 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
11443 (__tanl): Set errno for infinite argument.
11444 * sysdeps/i386/fpu/mptan.c: Remove.
11445 * sysdeps/i386/fpu/s_tan.S: Likewise.
11446 * sysdeps/i386/fpu/s_tanl.S: Likewise.
11447 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
11448 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
11449 * math/libm-test.inc (tan_test): Add more tests and enable more
11450 tests for double and long double.
11451 * sysdeps/i386/fpu/libm-test-ulps: Update.
11452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11453
6a1bd2a1
JK
114542012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11455
11456 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
11457 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
11458
10a803e0
RM
114592012-03-16 Roland McGrath <roland@hack.frob.com>
11460
11461 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
11462 * configure.in: Use it for both main tree and add-ons.
11463 * configure: Regenerated.
11464
f196c7f7
L
114652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11466
11467 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
11468
8848d99d
JM
114692012-03-16 Joseph Myers <joseph@codesourcery.com>
11470
96cbe7f4
JM
11471 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
11472 in comment.
11473
8848d99d
JM
11474 [BZ #13851]
11475 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
11476 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
11477 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11478 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
11479 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
11480 infinite argument.
11481 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
11482 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
11483 != 0 for prec == 2.
11484 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
11485 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
11486 * sysdeps/i386/fpu/s_cosl.S: Likewise.
11487 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
11488 * sysdeps/i386/fpu/s_sinl.S: Likewise.
11489 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
11490 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
11491 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
11492 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
11493 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
11494 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
11495 * math/libm-test.inc (cos_test): Add more tests and enable more
11496 tests for long double.
11497 (sin_test): Likewise.
11498 (sincos_test): Likewise.
11499 * sysdeps/i386/fpu/libm-test-ulps: Update.
11500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11501
dd7f4703
DM
115022012-03-16 David S. Miller <davem@davemloft.net>
11503
11504 * sysdeps/sparc/fpu/math_private.h: New file.
11505
006f1daa
DM
115062012-03-15 David S. Miller <davem@davemloft.net>
11507
c0c83bc8
DM
11508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
11509 file.
e6a62e18 11510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
11511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
11512 file.
e6a62e18
DM
11513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
11514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
11515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
11516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
11517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
11518 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
11519 sysdep routines.
11520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11521
88cb87d9
DM
11522 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
11523 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
11524
006f1daa 11525 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
11526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
11527 sparc-ifunc.h
006f1daa 11528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
11529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
11530 Likewise.
11531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
11532 Likewise.
006f1daa
DM
11533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
11534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
11535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
11536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11537 Likewise.
006f1daa
DM
11538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
11540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
11542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
11543 Likewise.
11544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
11545 Likewise.
006f1daa
DM
11546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
11548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11550 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11551 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11552 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
11553 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
11554 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11555 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
11557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
11558 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
11559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
11560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
11561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
11562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
11563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
11564 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
11565 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
11566 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
11567 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
11568 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
11569 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
11570
11e0098e
AS
115712012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11572
11573 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
11574 scaling.
11575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11576
e85b09d0
AJ
115772012-03-15 Andreas Jaeger <aj@suse.de>
11578
11579 [BZ #13852]
11580 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
11581 ieee754/flt-32 implementation for sin, cos and sincos.
11582 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
11583 * sysdeps/i386/fpu/s_cosf.S: Likewise.
11584 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
11585 * sysdeps/i386/fpu/s_sinf.S: Likewise.
11586 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
11587 ieee754/flt-32 implementation for tan.
11588
11589 * math/libm-test.inc (cos_test): Enable some large input tests for
11590 float as well
11591 (sin_test): Likewise.
11592 (sincos_test): Likewise.
11593 (tan_test): Add tests for large input.
11594
11595 * sysdeps/i386/fpu/libm-test-ulps: Update.
11596
81c64153
AJ
115972012-03-15 Andreas Jaeger <aj@suse.de>
11598
11599 [BZ #13658]
11600 * math/libm-test.inc (cos_test): Add more test cases.
11601 (sin_test): Likewise.
11602 (sincos_test): Likewise.
11603
7bbfa5c6
AJ
116042012-03-15 Andreas Jaeger <aj@suse.de>
11605
11606 [BZ #13837]
11607 * math/libm-test.inc (cos_test): Add a test case for large input
11608 value.
11609 (sin_test): Likewise.
11610 (sincos_test): Likewise.
11611
116122012-03-15 Andreas Jaeger <aj@suse.de>,
11613 Joseph Myers <joseph@codesourcery.com>
11614
11615 [BZ #13658]
0671f479 11616 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
11617 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
11618 * sysdeps/i386/fpu/branred.c: Likewise.
11619 * sysdeps/i386/fpu/dosincos.c: Likewise.
11620 * sysdeps/i386/fpu/mpa.c: Likewise.
11621 * sysdeps/i386/fpu/s_cos.S: Likewise.
11622 * sysdeps/i386/fpu/s_sin.S: Likewise.
11623 * sysdeps/i386/fpu/s_sincos.S: Likewise.
11624 * sysdeps/i386/fpu/sincos32.c: Likewise.
11625
11626 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
11627 Define.
11628 (libc_feupdateenv_53bit): Define.
11629 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
11630 Define.
11631 (libc_feupdateenv_53bit): Define.
11632
11633 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
11634 53 bit (without extend i386 double precision).
11635
11636 * math/libm-test.inc (sincos_test): Add tests for large input.
11637 (sin): Likewise.
11638 (cos): Likewise.
11639
11640 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11641
9cad04ea
AS
116422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11643
11644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11645
f7062b9a
DM
116462012-03-15 David S. Miller <davem@davemloft.net>
11647
11648 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
11649 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
11650 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
11651 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
11652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
11653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
11654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
11655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
11656 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
11657 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
11658 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
11659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
11660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
11661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
11662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
11663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
11664 file.
f7062b9a 11665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
11666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
11667 file.
f7062b9a 11668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
11669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
11670 file.
f7062b9a 11671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
11672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11673 file.
f7062b9a
DM
11674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11675 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11676 fmin/fmax sysdep routines.
11677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11678
7bd951ff
DM
116792012-03-14 David S. Miller <davem@davemloft.net>
11680
559398ab
DM
11681 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11682 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11683 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11684 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11685 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11686 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11687 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11688 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11689 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11690 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11691 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11693 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11701 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11702 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11703 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11704 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11705 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11706 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11707 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11708 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
11709 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11710 routines.
11711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11712 file.
559398ab 11713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
11714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11715 file.
559398ab 11716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
11717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11718 file.
559398ab 11719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
11720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11721 file.
559398ab 11722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
11723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11724 file.
559398ab 11725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
11726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11727 file.
11728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11729 file.
11730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11731 file.
11732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11733 file.
11734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11735 New file.
11736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11737 file.
11738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11739 file.
559398ab 11740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
11741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11742 file.
559398ab 11743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
11744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11745 file.
559398ab 11746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
11747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11748 file.
559398ab 11749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
11750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11751 VIS3 routines.
559398ab
DM
11752
11753 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11754 New file.
11755
5a1c1e32
DM
11756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11757
eae47a36
DM
11758 * sysdeps/sparc/configure.in: New file.
11759 * sysdeps/sparc/configure: Generate.
11760 * configure.in (libc_cv_sparc_as_vis3): Substitute.
11761 * configure: Regenerate.
11762 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11763 * config.make.in (have-as-vis3): New.
11764 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11765 available use -Av9d instead of -Av9a.
11766 * sysdeps/sparc/sparc64/Makefile: Likewise.
11767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
11768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11769 New file.
11770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11771 file.
11772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11773 New file.
11774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11775 file.
eae47a36
DM
11776 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11777 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11778 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11779 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11780 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11781
c0c83bc8
DM
11782 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11783 fzeros/fnegs to load 0x80000000 into a float register instead of
11784 using the stack.
7bd951ff
DM
11785 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11786
bd951ccb
JM
117872012-03-14 Joseph Myers <joseph@codesourcery.com>
11788
11789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11790 bits/syscall.h.
11791 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11792 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11793 ($(inst_includedir)/bits/syscall.h): Remove rule.
11794 ($(objpfx)bits/syscall.d): Include instead of
11795 $(objpfx)syscall-list.d.
11796 (generated): Change syscall-list.h and syscall-list.d to
11797 bits/syscall.h and bits/syscall.d.
11798
bb4e6db2
RM
117992012-03-14 Roland McGrath <roland@hack.frob.com>
11800
11801 [BZ #13846]
11802 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11803
aa4a2ae1
JM
118042012-03-14 Joseph Myers <joseph@codesourcery.com>
11805
e456826d
JM
11806 [BZ #13841]
11807 * math/s_csqrt.c: Include <float.h>.
11808 (__csqrt): Scale large or subnormal inputs.
11809 * math/s_csqrtf.c: Likewise.
11810 * math/s_csqrtl.c: Likewise.
11811 * math/libm-test.inc (csqrt_test): Add more tests.
11812 * sysdeps/i386/fpu/libm-test-ulps: Update.
11813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11814
aa4a2ae1
JM
11815 [BZ #13840]
11816 * math/libm-test.inc (hypot_test): Add more tests.
11817
7c10fd35
DM
118182012-03-13 David S. Miller <davem@davemloft.net>
11819
11820 [BZ #13840]
11821 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11822 double-precision for the calculation instead of scaling.
11823
f453b98b
JM
118242012-03-13 Joseph Myers <joseph@codesourcery.com>
11825
11826 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11827 manipulate bits before adding and subtracting TWO52[sx].
11828 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11829 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11830 Likewise.
11831 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11832
09a3453f
DM
118332012-03-13 David S. Miller <davem@davemloft.net>
11834
8e59da90
DM
11835 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11836 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11837 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11838 rtld-global-offsets.h
11839 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11840
2a8ab7f2
DM
11841 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11842 large parameters.
11843
10f62770
DM
11844 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11845
5f0bdb18
DM
11846 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11847 'err' in the ifdef scope in which it is actually used.
11848
09a3453f
DM
11849 * nss/nss_db/db-init.c: Include string.h
11850
b4b2eb5e
DM
118512012-03-12 David S. Miller <davem@davemloft.net>
11852
98bb2f1c
DM
11853 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11854 masking out of the most significant byte of random value used.
11855 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11856 Fix coding style in previous change.
11857
b4b2eb5e
DM
11858 * sysdeps/unix/sysv/linux/kernel-features.h
11859 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11860 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11861 expression.
11862 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11863 later.
11864
6e226b09
DM
118652012-03-11 David S. Miller <davem@davemloft.net>
11866
a1bcbd40
DM
11867 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11868 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11869 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11870 for 'resultvar' otherwise things get truncated on 64-bit.
11871
cb9d6174
DM
11872 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11873 Fix masking out of the most significant byte of random value used.
11874
6e226b09
DM
11875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11876
058c132d
AS
118772012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11878
11879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11880
2d2cd515
DM
118812012-03-09 David S. Miller <davem@davemloft.net>
11882
11883 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11884 variables with appropriate CPP guards.
11885 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11886 frame pointer, not the stack pointer. Correct layout comments. Fix test
11887 on resulting framesize and the management of the outregs buffer for pltexit.
11888 Preserve floating point return values across _dl_call_pltexit call.
11889 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11890 framesize and the management of the outregs buffer for pltexit.
11891 Preserve floating point return values across _dl_call_pltexit
11892 call.
11893 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11894 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11895 (print_exit): Fix format string for return register value.
11896
9a07f9d0
JM
118972012-03-10 Joseph Myers <joseph@codesourcery.com>
11898
11899 * sunrpc/Makefile (others): Add rpcgen.
11900 ($(objpfx)rpcgen): Remove special build rule and dependency on
11901 libc.
11902 * sunrpc/rpcgen.c: New file.
11903
547b5e30
PE
119042012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11905
c524201a
PE
11906 [BZ #13673]
11907 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11908 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11909 * sysdeps/i386/crti.S: Likewise.
11910 * sysdeps/i386/crtn.S: Likewise.
11911 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11912 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11913 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11914 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11915 * sysdeps/sh/crti.S: Likewise.
11916 * sysdeps/sh/crtn.S: Likewise.
11917 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11918
7b6235f2
PE
11919 [BZ #13673]
11920 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11921 with URL.
11922 * locale/programs/locfile-kw.gperf: Likewise.
11923 * locale/programs/charmap-kw.h: Regenerated.
11924 * locale/programs/locfile-kw.h: Likewise.
11925
547b5e30
PE
11926 [BZ #13673]
11927 * intl/plural.y: Replace FSF snail mail address with URL.
11928 * intl/plural.c: Regenerated.
11929
5f0a5dae
RH
119302012-03-09 Richard Henderson <rth@twiddle.net>
11931
11932 * include/math_private.h: Remove file.
11933 * math/math_private.h: Move file ...
11934 * sysdeps/generic/math_private.h: ... here.
11935
b8c03620
RH
11936 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11937 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11938 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11939
4e234f5d 11940 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
11941 and <math_private.h>.
11942 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11943 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11944 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11945 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11946 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11947 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11948 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11949 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11950 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11951 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11952 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11953 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11954 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11955 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11956 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11957 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11958 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11959 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11960 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11961 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11962 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11963 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11964 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11965 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11966 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11967 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11968 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11969 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11970 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11971 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11972 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11973 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11974 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11975 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11976 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11977 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11978 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11979 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11980 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11981 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11982 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11983 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11984 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11985 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11986 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11987 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11988 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11989 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11990 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11991 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11992 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11993 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11994 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11995 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11996 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11997 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11998 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11999 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12000 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12001 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12002 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12003 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12004 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12005 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12006 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12007 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12008 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12009 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12010 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12011 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12012 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12013 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12014 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12015 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12016 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12017 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12018 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12019 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12020 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12021 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12022 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12023 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12024 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12025 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12026 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12027 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12028 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12029 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12030 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12031 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12032 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12033 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12034 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12035 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12036 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12037 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12038 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12039 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12040 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12041 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12042 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12043 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12044 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12045 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12046 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12047 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12048 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12049 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12050 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12051 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12052 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12053 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12054 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12055 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12056 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12057 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12058 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12059 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12060 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12061 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12062 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12063 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12064 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12065 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12066 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12067 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12068 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12069 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12070 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12071 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12072 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12073 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12074 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12075 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12076 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12077 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12078 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12079 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12080 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12081 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12082 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12083 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12084 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12085 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12086 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12087 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12088 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12089 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12090 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12091 * sysdeps/ieee754/k_standard.c: Likewise.
12092 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12093 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12094 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12095 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12096 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12097 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12098 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12099 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12100 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12101 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12102 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12103 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12104 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12105 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12106 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12107 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12108 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12109 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12110 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12111 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12112 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12113 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12114 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12115 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12116 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12117 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12118 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12119 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12120 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12121 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12122 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12123 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12124 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12125 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12126 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12127 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12128 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12129 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12130 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12131 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12132 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12133 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12134 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12135 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12136 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12137 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12138 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12139 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12140 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12141 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12142 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12143 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12144 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12145 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12146 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12147 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12148 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12149 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12150 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12151 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12152 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12153 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12154 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12155 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12156 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12157 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12158 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12159 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12160 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12161 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12162 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12163 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12164 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12165 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12166 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12167 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12168 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12169 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12170 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12171 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12172 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12173 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12174 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12175 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12176 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12177 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12178 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12179 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12180 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12181 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12182 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12183 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12184 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12185 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12186 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12187 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12188 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12189 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12190 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12191 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12192 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12193 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12194 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12195 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12196 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12197 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12198 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12199 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12200 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12201 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12202 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12203 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12204 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12205 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12206 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12207 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12208 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12209 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12210 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12211 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12212 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12213 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12214 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12215 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12216 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12217 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12218 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12219 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12220 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12221 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12222 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12223 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12224 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12225 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12226 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12227 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12228 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
12229 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12230 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12231 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12232 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12233 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12234 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12235 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12236 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12237 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12238 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12239 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12240 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12241 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
12242 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12243 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12244 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12245 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12246 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
12247 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
12248 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12249 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12250 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12251 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12252 * sysdeps/ieee754/s_lib_version.c: Likewise.
12253 * sysdeps/ieee754/s_matherr.c: Likewise.
12254 * sysdeps/ieee754/s_signgam.c: Likewise.
12255 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12256 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12257 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12258 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12259 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12260 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12261 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
12262 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
12263 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
12264 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12265 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12266 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12267 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12268 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12269 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
12270 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12271 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12272 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12273 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12274 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12275 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 12276
1991fa03
JM
122772012-03-09 Joseph Myers <joseph@codesourcery.com>
12278
12279 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
12280 * sunrpc/rpc_main.c: Likewise.
12281 * sunrpc/rpc_svcout.c: Likewise.
12282
60d6f5a6
DM
122832012-03-09 David S. Miller <davem@davemloft.net>
12284
12285 * include/math_private.h: New file.
12286
4962050e
JM
122872012-03-09 Joseph Myers <joseph@codesourcery.com>
12288
02a6f887
JM
12289 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
12290 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
12291 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
12292 from <bits/socket_type.h>.
12293 (enum __socket_type): Don't define here.
12294 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
12295 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12296 bits/socket_type.h.
12297
c6e013c1
JM
12298 [BZ #13566]
12299 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
12300 checking __USE_GNU.
12301
4962050e
JM
12302 * Makerules ($(inst_includedir)/%.h): New rule.
12303 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
12304 (install-others): Remove variable setting.
12305 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
12306
38842f45
RH
123072012-03-08 Richard Henderson <rth@twiddle.net>
12308
67bb6da6
RH
12309 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
12310 from macro to inline function; merge with the
12311 !__LIBC_INTERNAL_MATH_INLINES version.
12312 (__ieee754_sqrtf): Likewise.
12313
15194b4b
RH
12314 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
12315 to inline function.
12316 (__rintf, __floor, __floorf): Likewise.
12317
64e21ede
RH
12318 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
12319 macro to inline function.
12320 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
12321
38842f45
RH
12322 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
12323 not <math/math_private.h>.
12324
c64bf5fe
DM
123252012-03-08 David S. Miller <davem@davemloft.net>
12326
12327 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
12328 copyright year.
12329 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12330
82d86f28
TS
123312012-03-08 Thomas Schwinge <thomas@codesourcery.com>
12332
12333 * resolv/gai_misc.c (handle_requests): Fix struct timespec
12334 normalization.
12335 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
12336 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12337
aea5d727
UD
123382012-03-08 Ulrich Drepper <drepper@gmail.com>
12339
12340 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
12341 be defined individually, they must be defined as a block. Define
12342 S for printing a string instead of hidint the different by using a
12343 macro for adding the 'l'.
12344 * stdio-common/tst-fphex-wide.c: Adjust.
12345
70bca0a3
MP
123462012-03-07 Marek Polacek <polacek@redhat.com>
12347
12348 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
12349
65b81130
MP
123502012-03-08 Marek Polacek <polacek@redhat.com>
12351
12352 [BZ #13806]
12353 * stdio-common/Makefile (tests): Add tst-fphex-wide.
12354 * stdio-common/tst-fphex.c: Define a few macros to make the
12355 test reusable. Use them.
12356 * stdio-common/tst-fphex-wide.c: New file.
12357
07037eeb
JM
123582012-03-08 Joseph Myers <joseph@codesourcery.com>
12359
a7a93d50
JM
12360 [BZ #6911]
12361 * manual/macros.texi (gnusystems): New macro.
12362 (nongnusystems): Likewise.
12363 (gnulinuxhurdsystems): Likewise.
12364 (gnuhurdsystems): Likewise..
12365 (gnulinuxsystems): Likewise.
12366 * manual/charset.texi: Use new macros or @theglibc{} to refer to
12367 variants of the GNU system, not "GNU system".
12368 * manual/conf.texi: Likewise.
12369 * manual/errno.texi: Likewise. Update example of errno macro
12370 expansion.
12371 * manual/filesys.texi: Likewise.
12372 (getumask): Document as specific to GNU/Hurd.
12373 * manual/install.texi: Likewise. Reword some references to
12374 GNU/Linux.
12375 * manual/intro.texi: Likewise.
12376 * manual/io.texi: Likewise.
12377 (File Name Portability): Detail which constraints are inapplicable
12378 to all GNU systems and which are only inapplicable to GNU/Hurd.
12379 * manual/job.texi: Likewise.
12380 * manual/llio.texi: Likewise.
12381 (O_NOCTTY): Document as present on GNU/Linux.
12382 * manual/maint.texi: Likewise.
12383 * manual/memory.texi: Likewise.
12384 * manual/pattern.texi: Likewise.
12385 * manual/pipe.texi: Likewise.
12386 * manual/process.texi: Likewise.
12387 * manual/resource.texi: Likewise.
12388 (RUSAGE_CHILDREN): Remove statement about specifying a particular
12389 child on GNU/Hurd.
12390 * manual/setjmp.texi: Likewise.
12391 * manual/signal.texi: Likewise.
12392 * manual/startup.texi: Likewise.
12393 * manual/stdio.texi: Likewise.
12394 * manual/terminal.texi: Likewise.
12395 (ONLCR): Document as POSIX.
12396 (OXTABS): Document availability on GNU/Linux as XTABS.
12397 (ONOEOT): Document availability separately from other bits.
12398 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
12399 * manual/time.texi: Likewise.
12400 * manual/users.texi: Likewise.
12401 * INSTALL: Regenerated.
12402 * sysdeps/gnu/errlist.c: Regenerated.
12403
07037eeb
JM
12404 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
12405 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
12406 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
12407 puts.
12408 * configure: Regenerated.
12409
d1d3431a
JM
124102012-03-07 Joseph Myers <joseph@codesourcery.com>
12411
af6a1e37
JM
12412 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
12413 default includes instead of AC_HEADER_CHECK.
12414 * sysdeps/i386/configure: Regenerated.
12415
d1d3431a
JM
12416 [BZ #10716]
12417 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
12418 * math/s_cacoshf.c (__cacoshf): Likewise.
12419 * math/s_cacoshl.c (__cacoshl): Likewise.
12420 * math/s_casinh.c (__casinh): Set signs of result from argument.
12421 * math/s_casinhf.c (__casinhf): Likewise.
12422 * math/s_casinhl.c (__casinhl): Likewise.
12423 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
12424 (casinh_test): Add more tests.
12425 * sysdeps/i386/fpu/libm-test-ulps: Update.
12426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12427
482ff4da
UD
124282012-03-07 Ulrich Drepper <drepper@gmail.com>
12429
872fda05
UD
12430 * po/zh_TW.po: Update from translation team.
12431
a4300c7a
UD
12432 * login/Makefile (distribute): Remove variable.
12433 * catgets/Makefile: Likewise.
12434 * mach/Makefile: Likewise.
12435 * malloc/Makefile: Likewise.
12436 * misc/Makefile: Likewise.
12437 * iconv/Makefile: Likewise.
12438 * nscd/Makefile: Likewise.
12439 * hurd/Makefile: Likewise.
12440 * manual/Makefile: Likewise.
12441 * locale/Makefile: Likewise.
12442 * intl/Makefile: Likewise.
12443 * conform/Makefile: Likewise.
12444 * nss/Makefile: Likewise.
12445 * time/Makefile: Likewise.
12446 * soft-fp/Makefile: Likewise.
12447 * dirent/Makefile: Likewise.
12448 * gmon/Makefile: Likewise.
12449 * po/Makefile: Likewise.
12450 * rt/Makefile: Likewise.
12451 * socket/Makefile: Likewise.
12452 * math/Makefile: Likewise.
12453 * signal/Makefile: Likewise.
12454 * debug/Makefile: Likewise.
12455 * elf/Makefile: Likewise.
12456 * timezone/Makefile: Likewise.
12457 * stdlib/Makefile: Likewise.
12458 * iconvdata/Makefile: Likewise.
12459 * sunrpc/Makefile: Likewise.
12460 * io/Makefile: Likewise.
12461 * argp/Makefile: Likewise.
12462 * inet/Makefile: Likewise.
12463 * hesiod/Makefile: Likewise.
12464 * grp/Makefile: Likewise.
12465 * csu/Makefile: Likewise.
12466 * wctype/Makefile: Likewise.
12467 * crypt/Makefile: Likewise.
12468 * libio/Makefile: Likewise.
12469 * string/Makefile: Likewise.
12470 * nis/Makefile: Likewise.
12471 * resolv/Makefile: Likewise.
12472 * stdio-common/Makefile: Likewise.
12473 * wcsmbs/Makefile: Likewise.
12474 * dlfcn/Makefile: Likewise.
12475 * posix/Makefile: Likewise.
12476
3b7c4e74 12477 [BZ #6959]
482ff4da
UD
12478 * timezone/Makefile: Don't install timezone files, just the programs
12479 and scripts.
12480
f72ed77d
UD
124812012-03-06 Ulrich Drepper <drepper@gmail.com>
12482
a000466f
UD
12483 * nss/databases.def: Add missing gshadow entry.
12484
f72ed77d
UD
12485 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
12486
a53b7a4e
MP
124872012-03-06 Marek Polacek <polacek@redhat.com>
12488
12489 [BZ #13726]
12490 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
12491 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12492 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
12493 * stdio-common/tst-long-dbl-fphex.c: New file.
12494
e9258400
DM
124952012-03-06 David S. Miller <davem@davemloft.net>
12496
12497 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12498 (set_obp_int): New function.
12499 (get_obp_int): New function.
12500 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
12501 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
12502 Avoid unused variable warnings on 'val' and use builtin_expect.
12503 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
12504 __builtin_expect.
e9258400
DM
12505 (INLINE_CLONE_SYSCALL): Likewise.
12506
3bd2c723
DM
125072012-03-05 David S. Miller <davem@davemloft.net>
12508
12509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12510
bbb78d03
AS
125112012-03-05 Andreas Schwab <schwab@linux-m68k.org>
12512
884c5db4
AS
12513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12514
bbb78d03
AS
12515 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
12516 only for |x| >= 40.
12517 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12518
1c9f702a 125192012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
12520
12521 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
12522 Replace gettimeofday with __vdso_gettimeofday.
12523
7be16f82
RM
12524 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12525 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
12526 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
12527
12528 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
12529 time with __vdso_time.
12530
ed58a00f
JM
125312012-03-05 Joseph Myers <joseph@codesourcery.com>
12532
12533 * manual/lang.texi (size_t): Note types to which size_t may be
12534 equivalent with the GNU C Library, but do not describe when
12535 differences between them are significant.
12536
30ee4ced
AJ
125372012-03-05 Andreas Jaeger <aj@suse.de>
12538
12539 * sysdeps/i386/fpu/libm-test-ulps: Update.
12540
b7cd39e8
JM
125412012-03-05 Joseph Myers <joseph@codesourcery.com>
12542
12543 [BZ #3976]
12544 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
12545 (__ieee754_pow): Save and restore rounding mode and use
12546 round-to-nearest for main computations.
12547 * math/libm-test.inc (pow_test_tonearest): New function.
12548 (pow_test_towardzero): Likewise.
12549 (pow_test_downward): Likewise.
12550 (pow_test_upward): Likewise.
12551 (main): Call the new functions.
12552 * sysdeps/i386/fpu/libm-test-ulps: Update.
12553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
12554
12555 [BZ #3976]
12556 * math/libm-test.inc (cosh_test_tonearest): New function.
12557 (cosh_test_towardzero): Likewise.
12558 (cosh_test_downward): Likewise.
12559 (cosh_test_upward): Likewise.
12560 (sinh_test_tonearest): Likewise.
12561 (sinh_test_towardzero): Likewise.
12562 (sinh_test_downward): Likewise.
12563 (sinh_test_upward): Likewise.
12564 (main): Call the new functions.
12565 * sysdeps/i386/fpu/libm-test-ulps: Update.
12566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12567
6c6a98c9
TV
125682012-03-05 Tom de Vries <tom@codesourcery.com>
12569
12570 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
12571 default stack guard is set in last bytes.
12572 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
12573
21bb2d2e 125742012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 12575
21bb2d2e 12576 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 12577
21bb2d2e
AJ
12578 [BZ #13656]
12579 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
12580 possibly allocate from heap instead of stack.
12581 * stdio-common/bug-vfprintf-nargs.c: New file.
12582 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 12583
c6922934
AS
125842012-03-03 Andreas Schwab <schwab@linux-m68k.org>
12585
12586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12587
bc957d53
MP
125882012-03-03 Marek Polacek <polacek@redhat.com>
12589
12590 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
12591 * math/math_private.h: Likewise.
12592 * stdlib/tst-strtod.c: Likewise.
12593 * sysdeps/i386/i486/bits/atomic.h: Likewise.
12594 * sysdeps/x86_64/bits/atomic.h: Likewise.
12595
6358490d
DM
125962012-03-02 David S. Miller <davem@davemloft.net>
12597
12598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
12599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
12600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
12601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
12602 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
12603 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
12604 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
12605 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
12606
01ae168d
RM
126072012-03-02 Roland McGrath <roland@hack.frob.com>
12608
d9a17c07
RM
12609 [BZ #13792]
12610 * manual/examples/README: New file, says the example source files
12611 can be used under GPL>=2.
12612 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
12613 line containing just "*/".
12614 * manual/examples/add.c: Add copyright header (GPL>=2).
12615 * manual/examples/argp-ex1.c: Likewise.
12616 * manual/examples/argp-ex2.c: Likewise.
12617 * manual/examples/argp-ex3.c: Likewise.
12618 * manual/examples/argp-ex4.c: Likewise.
12619 * manual/examples/atexit.c: Likewise.
12620 * manual/examples/db.c: Likewise.
12621 * manual/examples/dir.c: Likewise.
12622 * manual/examples/dir2.c: Likewise.
12623 * manual/examples/execinfo.c: Likewise.
12624 * manual/examples/filecli.c: Likewise.
12625 * manual/examples/filesrv.c: Likewise.
12626 * manual/examples/fmtmsgexpl.c: Likewise.
12627 * manual/examples/genpass.c: Likewise.
12628 * manual/examples/inetcli.c: Likewise.
12629 * manual/examples/inetsrv.c: Likewise.
12630 * manual/examples/isockad.c: Likewise.
12631 * manual/examples/longopt.c: Likewise.
12632 * manual/examples/memopen.c: Likewise.
12633 * manual/examples/memstrm.c: Likewise.
12634 * manual/examples/mkfsock.c: Likewise.
12635 * manual/examples/mkisock.c: Likewise.
12636 * manual/examples/mygetpass.c: Likewise.
12637 * manual/examples/pipe.c: Likewise.
12638 * manual/examples/popen.c: Likewise.
12639 * manual/examples/rprintf.c: Likewise.
12640 * manual/examples/search.c: Likewise.
12641 * manual/examples/select.c: Likewise.
12642 * manual/examples/setjmp.c: Likewise.
12643 * manual/examples/sigh1.c: Likewise.
12644 * manual/examples/sigusr.c: Likewise.
12645 * manual/examples/stpcpy.c: Likewise.
12646 * manual/examples/strdupa.c: Likewise.
12647 * manual/examples/strftim.c: Likewise.
12648 * manual/examples/strncat.c: Likewise.
12649 * manual/examples/subopt.c: Likewise.
12650 * manual/examples/swapcontext.c: Likewise.
12651 * manual/examples/termios.c: Likewise.
12652 * manual/examples/testopt.c: Likewise.
12653 * manual/examples/testpass.c: Likewise.
12654 * manual/examples/timeval_subtract.c: Likewise.
12655
01ae168d
RM
12656 [BZ #13792]
12657 * manual/time.texi (Elapsed Time): Move timeval_subtract example
12658 function to ...
12659 * manual/timeval_subtract.c.texi: ... here, new file.
12660
49efa33d
DM
126612012-03-02 David S. Miller <davem@davemloft.net>
12662
12663 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
12664
28afd92d
JM
126652012-03-02 Joseph Myers <joseph@codesourcery.com>
12666
804360ed
JM
12667 [BZ #3976]
12668 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
12669 (__sin): Save and restore rounding mode and use round-to-nearest
12670 for all computations.
12671 (__cos): Save and restore rounding mode and use round-to-nearest
12672 for all computations.
12673 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12674 <fenv.h>.
12675 (tan): Save and restore rounding mode and use round-to-nearest for
12676 all computations.
12677 * math/libm-test.inc (cos_test_tonearest): New function.
12678 (cos_test_towardzero): Likewise.
12679 (cos_test_downward): Likewise.
12680 (cos_test_upward): Likewise.
12681 (sin_test_tonearest): Likewise.
12682 (sin_test_towardzero): Likewise.
12683 (sin_test_downward): Likewise.
12684 (sin_test_upward): Likewise.
12685 (tan_test_tonearest): Likewise.
12686 (tan_test_towardzero): Likewise.
12687 (tan_test_downward): Likewise.
12688 (tan_test_upward): Likewise.
12689 (main): Call the new functions.
12690 * sysdeps/i386/fpu/libm-test-ulps: Update.
12691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12692
a6d06d7b
JM
12693 [BZ #10135]
12694 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12695 small n, then large n, before computing and testing k+n.
12696 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12697 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12698 Likewise.
12699 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12700 Likewise.
12701 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12702 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12703 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12704 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12705 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12706 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12707 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12708 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12709 * math/libm-test.inc (scalbn_test): Add more tests.
12710 (scalbln_test): Likewise.
12711
07e12bb3
JM
12712 * manual/filesys.texi (mode_t): Describe constraints on size and
12713 signedness, not exact equivalence to a particular type.
12714 (ino_t): Likewise.
12715 (ino64_t): Likewise.
12716 (dev_t): Likewise.
12717 (nlink_t): Likewise.
12718 (blkcnt_t): Likewise.
12719 (blkcnt64_t): Likewise.
12720 * manual/llio.texi (off_t): Likewise.
12721
28afd92d
JM
12722 [BZ #3976]
12723 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12724 (__ieee754_exp): Save and restore rounding mode and use
12725 round-to-nearest for all computations.
12726 * math/libm-test.inc (exp_test_tonearest): New function.
12727 (exp_test_towardzero): Likewise.
12728 (exp_test_downward): Likewise.
12729 (exp_test_upward): Likewise.
12730 (main): Call the new functions.
12731 * sysdeps/i386/fpu/libm-test-ulps: Update.
12732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12733
b1eeb65d
CD
127342012-03-01 Chris Demetriou <cgd@google.com>
12735
12736 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12737 have predictable order.
12738
53362a4b
DM
127392012-03-01 David S. Miller <davem@davemloft.net>
12740
3c969083
DM
12741 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12742
759707de
DM
12743 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12744 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12745 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12746 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12747
dfdb8ff2
DM
12748 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12749 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12750 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12752 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12753 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12754 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12755 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12756 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12757
ead89f96
DM
12758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12759
7f66bd07
DM
12760 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12761 * sysdeps/sparc/fpu/libm-test-ulps: to here.
12762 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12763
53362a4b
DM
12764 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12765 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12766 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12767 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12768 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12769 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12770 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12771 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12772 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12773 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12774 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12775 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12776 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12777 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12778 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12779 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12780 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12781 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12782 * sysdeps/sparc/elf/configure: Regenerated.
12783
7b1902cb
JM
127842012-03-01 Joseph Myers <joseph@codesourcery.com>
12785
bec039bc
JM
12786 * configure.in (AS, LD): Require binutils 2.20 or later.
12787 * configure: Regenerated.
12788 * manual/install.texi (Tools for Compilation): Give binutils 2.20
12789 as required minimum version.
12790 * INSTALL: Regenerated.
12791
7b1902cb
JM
12792 [BZ #2541]
12793 [BZ #4108]
12794 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12795 before squaring exponent.
12796 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12797 bottom long double and 27 bits of top long double before squaring
12798 exponent.
12799 * math/libm-test.inc (erfc_test): Add more tests.
12800 * sysdeps/i386/fpu/libm-test-ulps: Update.
12801 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12803
f775c276
KT
128042012-03-01 Kai Tietz <ktietz@redhat.com>
12805
12806 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12807 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12808 containing bit-fields.
12809 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12810 * soft-fp/single.h (_FP_UNION_S): Likewise.
12811 * soft-fp/double.h (_FP_UNION_D): Likewise.
12812
5b8a4d4a
JM
128132012-02-29 Joseph Myers <joseph@codesourcery.com>
12814
0bab47b6
JM
12815 [BZ #13786]
12816 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12817 not include ../strcmp.S.
12818 [USE_AS_STRNCASECMP_L]: Likewise.
12819 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12820 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12821 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12822 (__strncasecmp_l_ia32): Define as alias to
12823 __strncasecmp_l_nonascii.
12824
0fcad3e2
JM
12825 [BZ #5794]
12826 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12827 * sysdeps/i386/fpu/libm-test-ulps: Update.
12828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12829
5b8a4d4a
JM
12830 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12832
8fdceb2e
JL
128332012-02-29 Jeff Law <law@redhat.com>
12834
12835 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12836 out of bounds read.
12837
1f393a11
MP
128382012-02-29 Marek Polacek <polacek@redhat.com>
12839
12840 [BZ #13706]
12841 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12842 * elf/Makefile: Add rules to run tst-unused-dep.out.
12843
8847f037
DM
128442012-02-28 David S. Miller <davem@davemloft.net>
12845
12846 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12847 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12848 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12849 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12850 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12851 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12852
169d7f11
JM
128532012-02-29 Joseph Myers <joseph@codesourcery.com>
12854
12855 * math/libm-test.inc (llround_test): Move one test from
12856 lround_test. Use TEST_f_L in moved test.
12857 (lround_test): Move misplaced test to llround_test. Add testcase
12858 from bug 2561.
12859
39adf059
UD
128602012-02-28 Ulrich Drepper <drepper@gmail.com>
12861
12862 * sysdeps/x86_64/fpu/e_expf.S: New file.
12863 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12864
71b5d1c5
SB
128652012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12866
12867 [BZ #13637]
12868 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12869 of remain_len that may cause incomplete multi-byte character and
12870 false match.
12871 * posix/bug-regex33.c: New file.
12872 * posix/Makefile (tests): Add bug-regex33.
12873
1f77f049
JM
128742012-02-28 Joseph Myers <joseph@codesourcery.com>
12875
12876 * manual/macros.texi: New file.
12877 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12878 * manual/libc.texinfo: Include macros.texi.
12879 * manual/creatute.texi: Likewise.
12880 * manual/install.texi: Likewise.
12881 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12882 @glibcadj{} in references to the GNU C Library.
12883 * manual/charset.texi: Likewise.
12884 * manual/conf.texi: Likewise.
12885 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12886 when not using those macros.
12887 * manual/creature.texi: Likewise.
12888 * manual/crypt.texi: Likewise.
12889 * manual/errno.texi: Likewise.
12890 * manual/filesys.texi: Likewise.
12891 * manual/header.texi: Likewise.
12892 * manual/install.texi: Likewise.
12893 * manual/intro.texi: Likewise.
12894 * manual/io.texi: Likewise.
12895 * manual/job.texi: Likewise.
12896 * manual/lang.texi: Likewise.
12897 * manual/libc.texiinfo: Likewise.
12898 * manual/llio.texi: Likewise.
12899 * manual/locale.texi: Likewise.
12900 * manual/maint.texi: Likewise.
12901 * manual/math.texi: Likewise.
12902 * manual/memory.texi: Likewise.
12903 * manual/message.texi: Likewise.
12904 * manual/nss.texi: Likewise.
12905 * manual/pattern.texi: Likewise.
12906 * manual/process.texi: Likewise.
12907 * manual/resource.texi: Likewise.
12908 * manual/search.texi: Likewise.
12909 * manual/setjmp.texi: Likewise.
12910 * manual/signal.texi: Likewise.
12911 * manual/socket.texi: Likewise.
12912 * manual/startup.texi: Likewise.
12913 * manual/stdio.texi: Likewise.
12914 * manual/string.texi: Likewise.
12915 * manual/sysinfo.texi: Likewise.
12916 * manual/syslog.texi: Likewise.
12917 * manual/terminal.texi: Likewise.
12918 * manual/time.texi: Likewise.
12919 * manual/users.texi: Likewise.
12920 * INSTALL: Regenerated.
12921 * NOTES: Regenerated.
d40c5d54 12922 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 12923
450bf206
AS
129242012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12925
12926 * include/dirent.h: Include <dirstream.h> before
12927 <dirent/dirent.h>.
12928
741a235b
DM
129292012-02-28 David S. Miller <davem@davemloft.net>
12930
12931 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12932 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12933 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12934 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12935
d6b5aa58
DM
129362012-02-27 David S. Miller <davem@davemloft.net>
12937
1aff59a3
DM
12938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12940 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12941 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12942
d6b5aa58
DM
12943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12944 frame pointer instead of stack pointer relative arg slot.
12945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12946 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12947 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12948
433f48bf
CD
129492012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12950
12951 [BZ #3992]
12952 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12953
d674b76d
DM
129542012-02-27 David S. Miller <davem@davemloft.net>
12955
12956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12960 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12961 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12962 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12963 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12964
0e7727f7
JM
129652012-02-27 Joseph Myers <joseph@codesourcery.com>
12966
12967 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12968 later. Allow versions 5-9.
43be4ca2 12969 * configure: Regenerated.
0e7727f7
JM
12970 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12971 required minimum version and 4.6 as recommended version. Do not
12972 mention bugs in GCC 2.7 and 2.8.
43be4ca2 12973 * INSTALL: Regenerated.
0e7727f7 12974
a78bc654
DM
129752012-02-27 David S. Miller <davem@davemloft.net>
12976
428d5830
DM
12977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12981 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12982 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12983 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12984 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12985
a78bc654
DM
12986 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12987 manipulate bits before adding and subtracting TWO112[sx].
12988 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12989
4579f81c
RM
129902012-02-27 Roland McGrath <roland@hack.frob.com>
12991
36c8acb4
RM
12992 [BZ #13775]
12993 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12994 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12995 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12996 being in POSIX, because they are in 1003.1-2008.
12997
84ad622b
RM
12998 * rt/tst-aio.c: Include <fcntl.h>.
12999 * rt/tst-aio7.c: Likewise.
13000 * rt/tst-aio64.c: Likewise.
13001
4579f81c
RM
13002 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13003
abd923db
JM
130042012-02-27 Joseph Myers <joseph@codesourcery.com>
13005
13006 * manual/install.texi (--with-headers): Describe headers as
13007 interface headers, not private headers.
13008 (Specific advice for GNU/Linux systems): Describe use of headers
13009 from "make headers_install", not private headers from older
13010 kernels.
43be4ca2 13011 * INSTALL: Regenerated.
abd923db
JM
13012 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13013 Change to 2.6.19.
13014 * sysdeps/unix/sysv/linux/configure: Regenerated.
13015
6664049b
JM
13016 * manual/llio.texi (fclean): Remove documentation.
13017
bb8b6697
JM
13018 * manual/Makefile (libc-texi-generated): New variable. Include
13019 version.texi.
13020 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13021 $(libc-texi-generated), not duplicated list of files.
13022 (version.texi, stamp-version): New rules.
13023 (realclean): Remove $(libc-texi-generated), not individual files
13024 from that list. Do not remove dir-add.texinfo.
13025 * manual/libc.texinfo: Comment out uses of edition numbers and
13026 references to printed manual. Remove last-updated dates.
13027 (EDITION): Comment out.
13028 (ISBN): Likewise.
13029 (VERSION, UPDATED): Remove.
13030 (version.texi): Include.
13031
12e5c3b9
AS
130322012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13033
13034 * sysdeps/posix/spawni.c: Include <signal.h>.
13035 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13036 * sysdeps/pthread/aio_fsync.c: Likewise.
13037
4efeffc1 130382012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 13039
ba63ba08
UD
13040 * conform/Makefile (tests): Run only when not cross-compiling and
13041 when fast-check is not defined.
13042
d94a4670
UD
13043 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13044 * conform/data/limits.h-data: Fixes for POSIX2008.
13045 * conform/run-conformtest.sh: Run all tests.
13046 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13047 headers.
13048 * include/bits/dlfcn.h: Likewise.
13049 * include/langinfo.h: Likewise.
13050 * include/monetary.h: Likewise.
13051 * include/sys/poll.h: Likewise.
13052
13053 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13054 for __USE_GNU.
13055 * posix/spawn.h: Define __need_sigset_t.
13056 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13057 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13058 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13059 to get sigevent_t only.
13060 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13061 only for __USE_GNU.
13062 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13063 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13064 process_vm_writev only for __USE_GNU.
13065 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
13066
13067 * conform/Makefile: For now ignore errors from run-conformtest.
13068 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13069 POSIX to avoid namespace pollution. Don't prepend headers.
13070 * conform/data/aio.h-data: Fixes for POSIX testing.
13071 * conform/data/fcntl.h-data: Likewise.
13072 * conform/data/glob.h-data: Likewise.
13073 * conform/data/grp.h-data: Likewise.
13074 * conform/data/pthread.h-data: Likewise.
13075 * conform/data/pwd.h-data: Likewise.
13076 * conform/data/signal.h-data: Likewise.
13077 * conform/data/spawn.h-data: Likewise.
13078 * conform/data/stdio.h-data: Likewise.
13079 * conform/data/stdlib.h-data: Likewise.
13080 * conform/data/stropts.h-data: Likewise.
13081 * conform/data/sys/mman.h-data: Likewise.
13082 * conform/data/sys/stat.h-data: Likewise.
13083 * conform/data/sys/types.h-data: Likewise.
13084 * conform/data/sys/wait.h-data: Likewise.
13085 * conform/data/time.h-data: Likewise.
13086 * conform/data/unistd.h-data: Likewise.
13087 * conform/data/utime.h-data: Likewise.
13088
13089 * io/sys/stat.h: fchmod was always in POSIX.
13090 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13091 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13092 * rt/aio.h: Define __need_timespec before including <time.h>.
13093 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13094 struct. Add forward declaration of pthread_attr_t and use it in
13095 sigevent.
13096 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13097 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13098 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13099 always remove CLK_TCK definition.
13100
c20105c3
AS
131012012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13102
13103 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13104
7a270350
UD
131052012-02-25 Ulrich Drepper <drepper@gmail.com>
13106
31341567
UD
13107 * conform/run-conformtest.sh: New file.
13108 * conform/Makefile: Run run-conformtest for tests.
13109 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13110 support.
13111
13112 * conform/data/uchar.h-data: New file.
13113 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13114 * conform/data/arpa/inet.h-data: Likewise.
13115 * conform/data/assert.h-data: Likewise.
13116 * conform/data/complex.h-data: Likewise.
13117 * conform/data/cpio.h-data: Likewise.
13118 * conform/data/ctype.h-data: Likewise.
13119 * conform/data/dirent.h-data: Likewise.
13120 * conform/data/dlfcn.h-data: Likewise.
13121 * conform/data/errno.h-data: Likewise.
13122 * conform/data/fcntl.h-data: Likewise.
13123 * conform/data/float.h-data: Likewise.
13124 * conform/data/fmtmsg.h-data: Likewise.
13125 * conform/data/fnmatch.h-data: Likewise.
13126 * conform/data/ftw.h-data: Likewise.
13127 * conform/data/glob.h-data: Likewise.
13128 * conform/data/grp.h-data: Likewise.
13129 * conform/data/iconv.h-data: Likewise.
13130 * conform/data/inttypes.h-data: Likewise.
13131 * conform/data/langinfo.h-data: Likewise.
13132 * conform/data/libgen.h-data: Likewise.
13133 * conform/data/limits.h-data: Likewise.
13134 * conform/data/locale.h-data: Likewise.
13135 * conform/data/math.h-data: Likewise.
13136 * conform/data/monetary.h-data: Likewise.
13137 * conform/data/mqueue.h-data: Likewise.
13138 * conform/data/ndbm.h-data: Likewise.
13139 * conform/data/net/if.h-data: Likewise.
13140 * conform/data/netdb.h-data: Likewise.
13141 * conform/data/netinet/in.h-data: Likewise.
13142 * conform/data/nl_types.h-data: Likewise.
13143 * conform/data/poll.h-data: Likewise.
13144 * conform/data/pthread.h-data: Likewise.
13145 * conform/data/pwd.h-data: Likewise.
13146 * conform/data/regex.h-data: Likewise.
13147 * conform/data/sched.h-data: Likewise.
13148 * conform/data/search.h-data: Likewise.
13149 * conform/data/semaphore.h-data: Likewise.
13150 * conform/data/setjmp.h-data: Likewise.
13151 * conform/data/signal.h-data: Likewise.
13152 * conform/data/spawn.h-data: Likewise.
13153 * conform/data/stdarg.h-data: Likewise.
13154 * conform/data/stdio.h-data: Likewise.
13155 * conform/data/stdlib.h-data: Likewise.
13156 * conform/data/string.h-data: Likewise.
13157 * conform/data/strings.h-data: Likewise.
13158 * conform/data/stropts.h-data: Likewise.
13159 * conform/data/sys/ipc.h-data: Likewise.
13160 * conform/data/sys/mman.h-data: Likewise.
13161 * conform/data/sys/msg.h-data: Likewise.
13162 * conform/data/sys/resource.h-data: Likewise.
13163 * conform/data/sys/select.h-data: Likewise.
13164 * conform/data/sys/sem.h-data: Likewise.
13165 * conform/data/sys/shm.h-data: Likewise.
13166 * conform/data/sys/socket.h-data: Likewise.
13167 * conform/data/sys/stat.h-data: Likewise.
13168 * conform/data/sys/statvfs.h-data: Likewise.
13169 * conform/data/sys/time.h-data: Likewise.
13170 * conform/data/sys/timeb.h-data: Likewise.
13171 * conform/data/sys/times.h-data: Likewise.
13172 * conform/data/sys/types.h-data: Likewise.
13173 * conform/data/sys/uio.h-data: Likewise.
13174 * conform/data/sys/un.h-data: Likewise.
13175 * conform/data/sys/utsname.h-data: Likewise.
13176 * conform/data/sys/wait.h-data: Likewise.
13177 * conform/data/syslog.h-data: Likewise.
13178 * conform/data/tar.h-data: Likewise.
13179 * conform/data/termios.h-data: Likewise.
13180 * conform/data/utime.h-data: Likewise.
13181 * conform/data/utmpx.h-data: Likewise.
13182 * conform/data/varargs.h-data: Likewise.
13183 * conform/data/wchar.h-data: Likewise.
13184 * conform/data/wctype.h-data: Likewise.
13185 * conform/data/wordexp.h-data: Likewise.
13186
13187 * include/stropts.h: New file.
13188 * include/uchar.h: New file.
13189 * include/aio.h: Changes to allow conformtest.pl to use the headers.
13190 * include/assert.h: Likewise.
13191 * include/ctype.h: Likewise.
13192 * include/dirent.h: Likewise.
13193 * include/dlfcn.h: Likewise.
13194 * include/fcntl.h: Likewise.
13195 * include/fnmatch.h: Likewise.
13196 * include/glob.h: Likewise.
13197 * include/grp.h: Likewise.
13198 * include/libio.h: Likewise.
13199 * include/locale.h: Likewise.
13200 * include/math.h: Likewise.
13201 * include/net/if.h: Likewise.
13202 * include/netdb.h: Likewise.
13203 * include/netinet/in.h: Likewise.
13204 * include/pthread.h: Likewise.
13205 * include/pwd.h: Likewise.
13206 * include/regex.h: Likewise.
13207 * include/sched.h: Likewise.
13208 * include/search.h: Likewise.
13209 * include/setjmp.h: Likewise.
13210 * include/signal.h: Likewise.
13211 * include/stdio.h: Likewise.
13212 * include/stdlib.h: Likewise.
13213 * include/string.h: Likewise.
13214 * include/sys/cdefs.h: Likewise.
13215 * include/sys/mman.h: Likewise.
13216 * include/sys/msg.h: Likewise.
13217 * include/sys/resource.h: Likewise.
13218 * include/sys/select.h: Likewise.
13219 * include/sys/socket.h: Likewise.
13220 * include/sys/stat.h: Likewise.
13221 * include/sys/statvfs.h: Likewise.
13222 * include/sys/time.h: Likewise.
13223 * include/sys/times.h: Likewise.
13224 * include/sys/uio.h: Likewise.
13225 * include/sys/utsname.h: Likewise.
13226 * include/sys/wait.h: Likewise.
13227 * include/termios.h: Likewise.
13228 * include/time.h: Likewise.
13229 * include/ulimit.h: Likewise.
13230 * include/unistd.h: Likewise.
13231 * include/utime.h: Likewise.
13232 * include/wchar.h: Likewise.
13233 * include/wctype.h: Likewise.
13234 * include/wordexp.h: Likewise.
13235
13236 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
13237
7a270350
UD
13238 * time/time.h: TIME_UTC must be a macro.
13239 Make timespec_get available for ISO C11 only as well.
13240
7724defc
UD
132412012-02-24 Ulrich Drepper <drepper@gmail.com>
13242
13243 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
13244 Reported by Peng Haitao <penght@cn.fujitsu.com>.
13245
6b1d1d46
JM
132462012-02-24 Joseph Myers <joseph@codesourcery.com>
13247
13248 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 13249
0f8bbd69
JM
132502012-02-24 Joseph Myers <joseph@codesourcery.com>
13251
13252 * manual/texinfo.tex: Update to version 2012-01-19.16.
13253
66ab80bc
JM
132542012-02-24 Joseph Myers <joseph@codesourcery.com>
13255
13256 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
13257
74981cc5
RM
132582012-02-24 Roland McGrath <roland@hack.frob.com>
13259
ee968201
RM
13260 [BZ #13738]
13261 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
13262 * manual/fdl-1.3.texi: New file.
13263 * manual/fdl-1.1.texi: File removed.
13264
74981cc5
RM
13265 [BZ #13738]
13266 * manual/libc.texinfo (FDL_VERSION): New @set.
13267 Use it for mention of FDL in cover text.
13268 (Documentation License): Use it in @include file name.
13269
7bb764bc
JM
132702012-02-22 Joseph Myers <joseph@codesourcery.com>
13271 Roland McGrath <roland@hack.frob.com>
13272
13273 [BZ #5461]
13274 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
13275 not LONG_LONG_MAX and LONG_LONG_MIN.
13276 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
13277 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
13278 name.
13279 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
13280
6cbeae47
JM
132812012-02-22 Joseph Myers <joseph@codesourcery.com>
13282
13283 [BZ #2547]
13284 [BZ #11365]
13285 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
13286 manipulate bits before adding and subtracting TWO23[sx].
13287 * math/libm-test.inc (nearbyint_test): Add more tests.
13288
fe45ce09
JM
132892012-02-22 Joseph Myers <joseph@codesourcery.com>
13290
13291 [BZ #2548]
13292 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
13293 bits before adding and subtracting TWO23[sx].
13294 * math/libm-test.inc (rint_test): Add more tests.
13295 (rint_test_tonearest): Likewise.
13296 (rint_test_towardzero): Likewise.
13297 (rint_test_downward): Likewise.
13298 (rint_test_upward: Likewise.
13299
ff3b3d82
JM
133002012-02-22 Joseph Myers <joseph@codesourcery.com>
13301
13302 [BZ #10110]
13303 * include/stdc-predef.h: New file. Extracted from features.h.
13304 * include/features.h: Include stdc-predef.h.
13305 * Makefile (headers): Add stdc-predef.h.
13306 * CONFORMANCE (Compiler limitations): Update.
13307
ef0aab35
JM
133082012-02-22 Joseph Myers <joseph@codesourcery.com>
13309
13310 * manual/libc.texinfo (VERSION, UPDATED): Revert.
13311
58639409
DM
133122012-02-21 David S. Miller <davem@davemloft.net>
13313
13314 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
13315 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13316
c0e70b25
DM
133172012-02-20 David S. Miller <davem@davemloft.net>
13318
13319 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
13320 using a normal save/restore sequence, rather than allocating a
13321 dummy stack frame just to store a frame pointer and restore.
13322 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13323
fb06851d
JM
133242012-02-21 Joseph Myers <joseph@codesourcery.com>
13325
13326 * manual/install.texi: Fix stray word in line-wrapped comment.
13327
7a8b71c3
DM
133282012-02-20 David S. Miller <davem@davemloft.net>
13329
d510c123
DM
13330 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
13331 both binutils and gcc support GOTDATA.
13332
0722d7c2
DM
13333 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
13334 "rd %pc" in the PIC register setup sequences.
13335
3d2b3019
DM
13336 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
13337 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13338 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13339 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13340 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13341 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13342 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13343 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13344 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
13345 (SYSCALL_ERROR_HANDLER): Likewise.
13346 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13347 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13348 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
13349 (SYSCALL_ERROR_HANDLER): Likewise.
13350
c80098a9
DM
13351 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
13352 (HAVE_GCC_GOTDATA): New.
13353 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
13354 relocation support in both binutils and gcc.
13355 * sysdeps/sparc/elf/configure: Regenerate.
13356
3a2545a0
DM
13357 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
13358 * sysdeps/sparc/sparc32/elf/configure: Delete.
13359 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
13360 * sysdeps/sparc/sparc64/elf/configure: Delete.
13361 * sysdeps/sparc/elf/configure.in: New file.
13362 * sysdeps/sparc/elf/configure: Generate.
13363
7a8b71c3
DM
13364 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
13365 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
13366 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13367 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
13368 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
13369
f1e86fca
JM
133702012-02-21 Joseph Myers <joseph@codesourcery.com>
13371
13372 * manual/install.texi: Do not mention specific glibc version
13373 numbers.
13374 * manual/libc.texinfo (VERSION, UPDATED): Update.
13375 (@copying): Use @copyright{} and range of years.
13376
0e7dfaef
JM
133772012-02-21 Joseph Myers <joseph@codesourcery.com>
13378
13379 [BZ #13695]
13380 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
13381 [crti.S not in sysdirs] (generated): Do not append.
13382 [crti.S not in sysdirs] (omit-deps): Likewise.
13383 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
13384 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
13385 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
13386 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
13387 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
13388 Likewise.
13389 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
13390 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
13391 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
13392 * csu/defs.awk: Remove file.
13393 * sysdeps/generic/initfini.c: Likewise.
13394 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
13395 variable.
13396 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
13397 Likewise.
13398
599af3ca
JM
133992012-02-20 Joseph Myers <joseph@codesourcery.com>
13400
13401 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
13402 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
13403 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
13404 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
13405 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13406 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
13407 <bits/epoll.h>.
13408 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
13409 (__EPOLL_PACKED): Define to empty if not defined by
13410 <bits/epoll.h>.
13411 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
13412 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13413 bits/epoll.h.
13414
0e499750
JM
134152012-02-20 Joseph Myers <joseph@codesourcery.com>
13416
13417 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
13418 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
13419 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
13420 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
13421 <bits/timerfd.h>.
13422 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
13423 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13424 bits/timerfd.h.
13425
5ad91f6e
JM
134262012-02-20 Joseph Myers <joseph@codesourcery.com>
13427
13428 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
13429 in C locale.
13430 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13431 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13432 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
13433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13434
06b99b02
AJ
134352012-02-20 Aurelien Jarno <aurelien@aurel32.net>
13436
13437 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13438 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13439
7638c0fd
AS
134402012-02-19 Andreas Schwab <schwab@linux-m68k.org>
13441
13442 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
13443 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
13444 defined.
13445 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
13446 Likewise.
13447 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
13448 entry for 2.16.
13449
92221550
AJ
134502012-02-19 Aurelien Jarno <aurelien@aurel32.net>
13451
13452 * math/w_acos.c: Use non-signaling floating-point comparisons.
13453 * math/w_acosf.c: Likewise.
13454 * math/w_acosh.c: Likewise.
13455 * math/w_acoshf.c: Likewise.
13456 * math/w_acoshl.c: Likewise.
13457 * math/w_acosl.c: Likewise.
13458 * math/w_asin.c: Likewise.
13459 * math/w_asinf.c: Likewise.
13460 * math/w_asinl.c: Likewise.
13461 * math/w_atanh.c: Likewise.
13462 * math/w_atanhf.c: Likewise.
13463 * math/w_atanhl.c: Likewise.
13464 * math/w_exp2.c: Likewise.
13465 * math/w_exp2f.c: Likewise.
13466 * math/w_exp2l.c: Likewise.
13467 * math/w_j0.c: Likewise.
13468 * math/w_j0f.c: Likewise.
13469 * math/w_j0l.c: Likewise.
13470 * math/w_j1.c: Likewise.
13471 * math/w_j1f.c: Likewise.
13472 * math/w_j1l.c: Likewise.
13473 * math/w_jn.c: Likewise.
13474 * math/w_jnf.c: Likewise.
13475 * math/w_log.c: Likewise.
13476 * math/w_log10.c: Likewise.
13477 * math/w_log10f.c: Likewise.
13478 * math/w_log10l.c: Likewise.
13479 * math/w_log2.c: Likewise.
13480 * math/w_log2f.c: Likewise.
13481 * math/w_log2l.c: Likewise.
13482 * math/w_logf.c: Likewise.
13483 * math/w_logl.c: Likewise.
13484 * math/w_sqrt.c: Likewise.
13485 * math/w_sqrtf.c: Likewise.
13486 * math/w_sqrtl.c: Likewise.
13487 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13488 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13489 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13490 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13491 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13492
ebaf36eb
JM
134932012-02-19 Joseph Myers <joseph@codesourcery.com>
13494
13495 [BZ #9739]
13496 * manual/string.texi (strnlen): Use correct parameter name in
13497 equivalent expression.
13498
71c254a6
JM
134992012-02-19 Joseph Myers <joseph@codesourcery.com>
13500
13501 [BZ #11174]
13502 * manual/users.texi (seteuid): Consistently use neweuid for
13503 argument name.
13504
16d2c631
JM
135052012-02-19 Joseph Myers <joseph@codesourcery.com>
13506
13507 [BZ #13704]
13508 * manual/nss.texi (Services in the NSS configuration): Correct
13509 list of services in example configuration file.
13510
cd837b09
NB
135112012-02-19 Nick Bowler <nbowler@draconx.ca>
13512
13513 [BZ #11322]
13514 * manual/arith.texi: Remove statements about negative zero
13515 behaving identically to zero.
13516
02c4bbad
JM
135172012-02-18 Joseph Myers <joseph@codesourcery.com>
13518
13519 [BZ #5993]
13520 * manual/install.texi: Do not document upgrading from libc5.
13521
366842e7
JM
135222012-02-18 Joseph Myers <joseph@codesourcery.com>
13523
13524 [BZ #4596]
13525 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
13526
dd54084d
DM
135272012-02-18 David S. Miller <davem@davemloft.net>
13528
13529 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
13530 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
13531 %o7 across the call.
13532 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
13533 instead.
13534 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
13535 SETUP_PIC_REG_LEAF.
13536 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13537 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
13538 * sysdeps/sparc/crtn.S: Likewise.
13539
2bcc53a3
UD
135402012-02-17 Ulrich Drepper <drepper@gmail.com>
13541
13542 * aout/Makefile: Remove.
13543
09c093b5
RK
135442012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
13545
13546 [BZ #13058]
13547 * manual/examples/argp-ex1.c (main): Format definition in GNU
13548 style.
13549 * manual/examples/argp-ex2.c (main): Likewise.
13550 * manual/examples/argp-ex3.c (main): Likewise.
13551 * manual/examples/argp-ex4.c (main): Likewise.
13552 * manual/examples/longopt.c (main): Use new-style prototype
13553 definition.
13554 * manual/examples/strncat.c (main): Specify return type and use
13555 (void) for arguments.
13556 * manual/examples/subopt.c (main): Use char **argv argument.
13557
2ee633a2
JM
135582012-02-17 Joseph Myers <joseph@codesourcery.com>
13559
13560 [BZ #5077]
13561 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
13562 rounding modes.
13563
0520adde
FB
135642012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
13565
13566 [BZ #6907]
13567 * manual/string.texi (strchr): Change when strchrnul is
13568 recommended.
13569
3f4081cd
DGM
135702012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
13571
13572 [BZ #174]
13573 * manual/locale.texi (setlocale): Document LOCPATH.
13574
d1b10e78
JM
135752012-02-17 Joseph Myers <joseph@codesourcery.com>
13576
13577 [BZ #10210]
13578 * manual/process.texi (execle): Move @dots{} before last argument.
13579
79c6869c
PB
135802012-02-17 Paul Bolle <pebolle@tiscali.nl>
13581
13582 [BZ #12047]
13583 * manual/charset.texi (Generic Charset Conversion): Fix typo
13584 (LC_TYPE -> LC_CTYPE).
13585
cc6e48bc
NB
135862012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
13587
13588 [BZ #5805]
13589 * manual/arith.texi (scalbn): Use @var{} on parameter names.
13590 (scalbnf): Likewise.
13591 (scalbnl): Likewise.
13592 (scalbln): Likewise.
13593 (scalblnf): Likewise.
13594 (scalblnl): Likewise.
13595 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
13596 (vwarnx): Likewise.
13597 (verr): Likewise.
13598 (verrx): Likewise.
13599 * manual/filesys.texi (telldir): Use braces around return type.
13600 * manual/llio.texi (mmap): Add space after comma.
13601 (mmap64): Likewise.
13602 * manual/math.texi (jn): Use @var{} on parameter names.
13603 (jnf): Likewise.
13604 (jnl): Likewise.
13605 (yn): Likewise.
13606 (ynf): Likewise.
13607 (ynl): Likewise.
13608 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
13609 line.
13610 * manual/resource.texi (ulimit): Use @dots{} instead of literal
13611 "...".
13612 (sched_get_priority_min): Remove semicolon on @deftypefun line.
13613 (sched_get_priority_max): Likewise.
13614 * manual/signal.texi (sigvec): Add space after comma.
13615 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
13616 names.
13617 (if_indextoname): Likewise.
13618 (if_freenameindex): Likewise.
13619 (sendto): Use ',' instead of '.' in prototype.
13620 * manual/startup.texi (syscall): Use @dots{} instead of literal
13621 "...".
13622 * manual/stdio.texi (__fpending): Separate initial words of
13623 paragraph from @deftypefun line.
13624 * manual/syslog.texi (syslog): Use @dots{} instead of literal
13625 "...".
13626 (vsyslog): Use @var{} on parameter names.
13627 * manual/terminal.texi (stty): Use @var{} on parameter names.
13628 * manual/users.texi (getutmp): Use @var{} on parameter names.
13629 (getutmpx): Likewise.
13630
5b23062f
JM
136312012-02-17 Joseph Myers <joseph@codesourcery.com>
13632
13633 [BZ #6884]
13634 * manual/stdio.texi (fopen): Fix typos in description of
13635 ",ccs=STRING".
13636
8dee4833
AJ
136372012-02-17 Aurelien Jarno <aurelien@aurel32.net>
13638
13639 [BZ #4026]
13640 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
13641 get clock_id definition.
13642
9078ce93
TS
136432012-02-17 Thomas Schwinge <thomas@schwinge.name>
13644
13645 [BZ #4822]
13646 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
13647 (madvise): Cast every argument to void on its own.
13648
3835c55f
JM
136492012-02-17 Joseph Myers <joseph@codesourcery.com>
13650
13651 [BZ #9902]
13652 * manual/startup.texi (Exit Status): Fix typo.
13653
35c47e37
JM
136542012-02-17 Joseph Myers <joseph@codesourcery.com>
13655
13656 [BZ #10140]
13657 * manual/examples/argp-ex1.c: Include <stdlib.h>.
13658 * manual/examples/argp-ex2.c: Likewise.
13659 * manual/examples/argp-ex3.c: Likewise.
13660
e3b69ca7
RH
136612012-02-16 Richard Henderson <rth@redhat.com>
13662
13663 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
13664 * sysdeps/s390/s390-32/initfini.c: Remove.
13665 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
13666 * sysdeps/s390/s390-64/initfini.c: Remove.
13667
df83af67
KK
136682012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13669
13670 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
13671 compiler output for sysdeps/generic/initfini.c.
13672 * sysdeps/sh/elf/initfini.c: Remove file.
13673
f63f3380
DM
136742012-02-16 David S. Miller <davem@davemloft.net>
13675
fb59b3a4
DM
13676 [BZ #11494]
13677 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13678
f63f3380
DM
13679 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13680 * sysdeps/sparc/crti.S: New file.
13681 * sysdeps/sparc/crtn.S: New file.
13682 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13683 * sysdeps/sparc/sparc64/Makefile: Likewise.
13684
df6a4a4a
MF
136852012-02-15 Mike Frysinger <vapier@gentoo.org>
13686
6dd8f3dc 13687 [BZ #3335]
df6a4a4a
MF
13688 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13689
1cac7236
RM
136902012-02-15 Roland McGrath <roland@hack.frob.com>
13691
d2c736f8
RM
13692 [BZ #4822]
13693 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13694
1cac7236
RM
13695 * mach/devstream.c (cookie_io_functions_t): Macro removed.
13696 (write, read, close): Likewise.
13697 Patch by Aurelien Jarno <aurelien@aurel32.net>.
13698
8e475601
JM
136992012-02-15 Joseph Myers <joseph@codesourcery.com>
13700
13701 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13702 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13703 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13704 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13705 <bits/signalfd.h>.
13706 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13707 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13708 bits/signalfd.h.
13709
ed656b40
MP
137102012-02-14 Marek Polacek <polacek@redhat.com>
13711
13712 * sysdeps/x86_64/crti.S: New file.
13713 * sysdeps/x86_64/crtn.S: New file.
13714 * sysdeps/x86_64/elf/initfini.c: Remove file.
13715
2a979d3a
JM
137162012-02-13 Joseph Myers <joseph@codesourcery.com>
13717
13718 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13719 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13720 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13721 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13722 <bits/inotify.h>.
13723 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13725 bits/inotify.h.
13726
2a418ac3
JM
137272012-02-13 Joseph Myers <joseph@codesourcery.com>
13728
13729 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13730 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13731 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13732 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13733 <bits/eventfd.h>.
13734 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13736 bits/eventfd.h.
13737
fb779be7
TS
137382012-02-10 Thomas Schwinge <thomas@codesourcery.com>
13739
e19e83c5
RM
13740 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13741 __feraiseexcept instead of feraiseexcept.
7c35ffed 13742
fb779be7
TS
13743 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13744 nanosleep invocations.
13745 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13746 strings, and add error checking for a nanosleep invocations.
13747
59ba27a6
PE
137482012-02-09 Paul Eggert <eggert@cs.ucla.edu>
13749
13750 Replace FSF snail mail address with URLs, as per GNU coding standards.
13751 Most of the snail mail addresses were wrong anyway, and omitting
13752 them makes the source code easier to maintain. Almost all of the
13753 changes are to license notices and to locale LC_IDENTIFICATION
13754 addresses, except for this one:
13755 * manual/libc.texinfo: In "Published by", give the FSF's URL,
13756 not its snail mail address.
13757
57b957eb
RH
137582012-02-09 Richard Henderson <rth@twiddle.net>
13759
af850b1c
RH
13760 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13761 of kernel-features.h.
13762
57b957eb
RH
13763 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13764
6b73181a
MP
137652012-02-08 Marek Polacek <polacek@redhat.com>
13766
13767 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13768 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13769 * sysdeps/gnu/_G_config.h: Likewise.
13770 * sysdeps/generic/_G_config.h: Likewise.
13771
26ecc33a
AS
137722012-02-08 Andreas Schwab <schwab@linux-m68k.org>
13773
6c6dbc63
AS
13774 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13775 tests.
13776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13777
e216c012
AS
13778 * sysdeps/powerpc/powerpc32/crti.S: New file.
13779 * sysdeps/powerpc/powerpc32/crtn.S: New file.
13780 * sysdeps/powerpc/powerpc64/crti.S: New file.
13781 * sysdeps/powerpc/powerpc64/crtn.S: New file.
13782
26ecc33a
AS
13783 * Makeconfig (have-initfini): Don't set.
13784 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13785 * configure.in (nopic_initfini): Don't substitute.
13786 * config.h.in (HAVE_INITFINI): Don't #undef.
13787 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13788 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13789
3add8e13
JM
137902012-02-08 Joseph Myers <joseph@codesourcery.com>
13791
13792 Support crti.S and crtn.S provided directly by architectures.
13793 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13794 [crti.S in sysdirs] (omit-deps): Likewise.
13795 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13796 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13797 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13798 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13799 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13800 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13801 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13802 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13803 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13804 compiler output for sysdeps/generic/initfini.c.
13805 * sysdeps/i386/elf/Makefile: Remove file.
13806 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13807
a22f12b4
MP
138082012-02-07 Marek Polacek <polacek@redhat.com>
13809
13810 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13811 * sysdeps/gnu/_G_config.h: Likewise.
13812 * sysdeps/mach/hurd/_G_config.h: Likewise.
13813
148cf100
MP
138142012-02-07 Marek Polacek <polacek@redhat.com>
13815
13816 * math/Makefile (tests): Add tst-CMPLX2.
13817 * math/tst-CMPLX2.c: New file.
13818
cfdc0dd7
AS
138192012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13820
84ba42c4
AS
13821 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13822
cfdc0dd7
AS
13823 * math/libm-test.inc (jn_test): Add missing L suffix.
13824
622c86f4
MP
138252012-02-06 Marek Polacek <polacek@redhat.com>
13826
13827 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13828 * sysdeps/i386/fpu/e_powf.S: Likewise.
13829 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13830 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13831 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13832 * sysdeps/i386/fpu/e_pow.S: Likewise.
13833 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13834 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13835 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13836 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13837 * sysdeps/i386/fpu/e_log2.S: Likewise.
13838 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13839 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13840 * sysdeps/i386/fpu/e_powl.S: Likewise.
13841 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13842 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13843 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13844 * sysdeps/i386/fpu/e_logl.S: Likewise.
13845 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13846 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13847 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13848 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13849 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13850 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13851 * sysdeps/i386/fpu/e_log.S: Likewise.
13852 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13853 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13854 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13855 * sysdeps/i386/fpu/e_logf.S: Likewise.
13856 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13857 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13858 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13859 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13860 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13861 * sysdeps/i386/fpu/e_log10.S: Likewise.
13862 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13863 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13864 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13865 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13866 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13867 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13868 * sysdeps/i386/asm-syntax.h: Likewise.
13869 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13870 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13871 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13872 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13873 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13874 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13875 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13876 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13877 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13878 * sysdeps/powerpc/sysdep.h: Likewise.
13879 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13880 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13881
d4a54ac6
JM
138822012-02-06 Joseph Myers <joseph@codesourcery.com>
13883
13884 [BZ #411]
13885 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13886
314054ea
JM
138872012-02-06 Joseph Myers <joseph@codesourcery.com>
13888
13889 * sysdeps/i386/sysdep.h: Include <features.h>.
13890 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13891 version.
13892
d8e0ca50
JM
138932012-02-05 Joseph Myers <joseph@codesourcery.com>
13894
13895 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13896 Define.
13897 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13898 LOAD_PIC_REG_STR.
13899
b1da7dd9
JM
139002012-02-03 Joseph Myers <joseph@codesourcery.com>
13901
13902 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13903 (SETUP_PIC_REG): Use GET_PC_THUNK.
13904 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13905 macro.
13906
9a1d9254
JM
139072012-02-03 Joseph Myers <joseph@codesourcery.com>
13908
13909 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13910 for non-PIC compilation.
13911 (SETUP_PIC_REG): Add .p2align directive.
13912 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13913 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13914 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13915 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13916 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13917 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13918 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13919 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13920 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13921 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13922 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13923 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13924 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13925 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13926 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13927 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13928 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13929 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13930 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13931 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13932 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13933 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13934 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13935 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13936 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13937 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13938 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13939 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13940 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13941 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13942 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13943 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13944 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13945 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13946 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13947 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13948 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13949 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13950 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13951 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13952 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13953
65dc3b75
JM
139542012-02-03 Joseph Myers <joseph@codesourcery.com>
13955
13956 * math/tst-CMPLX.c: Include <stdio.h>.
13957
d55bf177
JM
139582012-01-31 Joseph Myers <joseph@codesourcery.com>
13959
13960 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13961 float.
13962 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13963 * sysdeps/sparc/bits/mathdef.h: Likewise.
13964
69db4f8f
MP
139652012-01-31 Marek Polacek <polacek@redhat.com>
13966
13967 * libio/libio.h: Don't define _PARAMS.
13968 * locale/programs/config.h: Don't define PARAMS.
13969 * stdlib/strtol_l.c: Likewise.
13970 (__strtol_l): Remove PARAMS from the prototype.
13971
41b81892
UD
139722012-01-31 Ulrich Drepper <drepper@gmail.com>
13973
3b49edc0
UD
13974 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13975 names. Just use the correct names. Remove unnecessary wrapper
13976 functions.
13977 * malloc/arena.c: Likewise.
13978 * malloc/hooks.c: Likewise.
13979
41b81892
UD
13980 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13981 ARENA_TEST says not to. Simplify test for creation of a new arena.
13982 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13983
27a25b6e
UD
139842012-01-30 Ulrich Drepper <drepper@gmail.com>
13985
13986 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13987 into tail calls.
13988 (update_get_addr): New function.
13989 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13990 GET_ADDR_MODULE parameter.
13991
c8a89e7d
JM
139922012-01-30 Joseph Myers <joseph@codesourcery.com>
13993
13994 * crypt/cert.c: Remove __STDC__ conditionals.
13995 * crypt/crypt-entry.c: Likewise.
13996 * crypt/crypt_util.c: Likewise.
13997 * libio/filedoalloc.c: Likewise.
13998 * libio/fileops.c: Likewise.
13999 * libio/genops.c: Likewise.
14000 * libio/iofclose.c: Likewise.
14001 * libio/iofdopen.c: Likewise.
14002 * libio/iofopen.c: Likewise.
14003 * libio/iofopen64.c: Likewise.
14004 * libio/iogetdelim.c: Likewise.
14005 * libio/iopopen.c: Likewise.
14006 * libio/obprintf.c: Likewise.
14007 * libio/oldfileops.c: Likewise.
14008 * libio/oldiofclose.c: Likewise.
14009 * libio/oldiofdopen.c: Likewise.
14010 * libio/oldiofopen.c: Likewise.
14011 * libio/oldiopopen.c: Likewise.
14012 * libio/wfiledoalloc.c: Likewise.
14013 * libio/wgenops.c: Likewise.
14014 * locale/programs/xmalloc.c: Likewise.
14015 * misc/syslog.c: Likewise.
14016 * stdio-common/xbug.c: Likewise.
14017 * string/memchr.c: Likewise.
14018 * string/memcmp.c: Likewise.
14019 * string/memrchr.c: Likewise.
14020 * string/rawmemchr.c: Likewise.
14021 * sysdeps/posix/getcwd.c: Likewise.
14022 * time/strftime_l.c: Likewise.
14023
3b100462
JM
140242012-01-30 Joseph Myers <joseph@codesourcery.com>
14025
14026 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
14027 * config.make.in (config-cflags-sse2avx): Define.
14028 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14029 Fix typo.
14030
607998af
CM
140312012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14032
14033 * scripts/config.guess: Update from upstream config git repository.
14034 * scripts/config.sub: Likewise.
14035
3601428f
CM
140362012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14037
3ac8b282
CM
14038 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14039 (EM_NUM): Update.
14040 (R_TILEPRO_*, R_TILEGX_*): New macros.
14041
e034841e
CM
14042 * scripts/firstversions.awk: Fix bug in version range handling.
14043
540d7568
CM
14044 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14045
3601428f
CM
14046 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14047
463de862
CM
14048 * include/sys/epoll.h: New file.
14049 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14050 libc_hidden_def.
14051
73139a76
UD
140522012-01-28 Ulrich Drepper <drepper@gmail.com>
14053
96bc5b45
UD
14054 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14055 Avoid unnecessary __WORDSIZE == 64 test.
14056 (fmaxf): Use VEX format if possible.
14057 (fmax): Likewise.
14058 (fminf): Likewise.
14059 (fmin): Likewise.
14060
56f6f6a2
UD
14061 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14062 * math/math_private.h: Remove libc_fegetround* and
14063 libc_fesetround*.
14064 * sysdeps/i386/configure.in: Check for -msse2avx.
14065 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14066 also if SSE2AVX is defined.
14067 Remove libc_fegetround* and libc_fesetround*.
14068 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14069 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14070 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14071 of HAS_YMM_USABLE.
14072 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14073 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14074 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14075 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14076 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14077
73139a76
UD
14078 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14079
d73f93a4
AZ
140802012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14081
14082 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14083 size is not set.
14084 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14085
6ee65ed6
UD
140862012-01-27 Ulrich Drepper <drepper@gmail.com>
14087
14088 [BZ #13618]
14089 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14090 relocation.
14091 * Makeconfig (libm): Define.
14092 * elf/Makefile: Add rules to build and run tst-relsort1.
14093 * elf/tst-relsort1.c: New file.
14094 * elf/tst-relsort1mod1.c: New file.
14095 * elf/tst-relsort1mod2.c: New file.
14096
8db21882
JM
140972012-01-27 Joseph Myers <joseph@codesourcery.com>
14098
14099 * math/s_ldexp.c: Remove __STDC__ conditionals.
14100 * math/s_ldexpf.c: Likewise.
14101 * math/s_ldexpl.c: Likewise.
14102 * math/s_nextafter.c: Likewise.
14103 * math/s_nexttowardf.c: Likewise.
14104 * math/s_significand.c: Likewise.
14105 * math/s_significandf.c: Likewise.
14106 * math/s_significandl.c: Likewise.
14107 * math/w_jnl.c: Likewise.
14108 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14109 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14110 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14111 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14112 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14113 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14114 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14115 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14116 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14117 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14118 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14119 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14120 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14121 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14122 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14123 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14124 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14125 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14126 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14127 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14128 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14129 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14130 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14131 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14132 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14133 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14134 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14135 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14136 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14137 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14138 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14139 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14140 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14141 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14142 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14143 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14144 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14145 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14146 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14147 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14148 * sysdeps/ieee754/k_standard.c: Likewise.
14149 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14150 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14151 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14152 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14153 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14154 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14155 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14156 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14157 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14158 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14159 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14160 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14161 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14162 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14163 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14164 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14165 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14166 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14167 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14168 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14169 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14170 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14171 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14172 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14173 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14174 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14175 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14176 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14177 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14178 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14179 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14180 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14181 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14182 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14183 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14184 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14185 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14186 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14187 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14188 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14189 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14190 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14191 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14192 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14193 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14194 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14195 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14196 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14197 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14198 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14199 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14200 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14201 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14202 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14203 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14204 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14205 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
14206 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14207 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14208 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14209 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14210 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14211 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14212 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14213 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14214 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14215 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14216 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14217 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14218 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14219 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14220 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14221 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14222 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14223 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14224 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14225 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14226 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14227 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14228 * sysdeps/ieee754/s_matherr.c: Likewise.
14229 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14230 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14231 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14232 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14233
965a54a4
JM
142342012-01-26 Joseph Myers <joseph@codesourcery.com>
14235
14236 * crypt/md5.h: Remove __STDC__ conditionals.
14237 * libio/libioP.h: Likewise.
14238 * locale/programs/config.h: Likewise.
14239 * sysdeps/generic/sysdep.h: Likewise.
14240 * sysdeps/i386/asm-syntax.h: Likewise.
14241 * sysdeps/s390/asm-syntax.h: Likewise.
14242 * sysdeps/unix/sysdep.h: Likewise.
14243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14245
7071ad79
JM
142462012-01-26 Joseph Myers <joseph@codesourcery.com>
14247
14248 * libio/libio.h: Remove __STDC__ conditionals.
14249 * malloc/obstack.h: Likewise.
14250 * math/complex.h: Likewise.
14251 * math/math.h: Likewise.
14252 * sysdeps/generic/_G_config.h: Likewise.
14253 * sysdeps/gnu/_G_config.h: Likewise.
14254 * sysdeps/mach/hurd/_G_config.h: Likewise.
14255 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14256 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14257 * sysdeps/sparc/bits/mathdef.h: Likewise.
14258
afc5ed09
UD
142592012-01-26 Ulrich Drepper <drepper@gmail.com>
14260
14261 [BZ #13583]
14262 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 14263 Clean up HAS_* macros.
afc5ed09 14264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
14265 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
14266 possible.
14267 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
14268 HAS_AVX.
14269 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14270 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14271 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14272 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14273 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 14274
bdb6de1d
JM
142752012-01-25 Joseph Myers <joseph@codesourcery.com>
14276
14277 * elf/tst-unique3.cc (gets): Remove declaration.
14278 * elf/tst-unique3lib.cc (gets): Likewise.
14279 * elf/tst-unique3lib2.cc (gets): Likewise.
14280 * elf/tst-unique4.cc (gets): Likewise.
14281
b15549e6
UD
142822012-01-24 Ulrich Drepper <drepper@gmail.com>
14283
14284 * include/stdio.h: Add C++ protection. Add gets declarations and
14285 definitions.
14286 * debug/tst-chk1.c: Don't declare gets here.
14287 * stdio-common/tst-gets.c: Likewise.
14288
a037381f
JM
142892012-01-24 Joseph Myers <joseph@codesourcery.com>
14290
14291 * posix/glob: Remove directory.
14292
f1d4aa75
JM
142932012-01-24 Joseph Myers <joseph@codesourcery.com>
14294
14295 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
14296
81c0c964
PT
142972012-01-22 Pino Toscano <toscano.pino@tiscali.it>
14298
14299 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
14300 of the non-standard EPFNOSUPPORT.
14301
0ea698ae
ST
143022011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
14303
14304 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
14305 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
14306 ANYWHERE set to 1 only on KERN_NO_SPACE error.
14307
d220b117
UD
143082012-01-21 Ulrich Drepper <drepper@gmail.com>
14309
14310 * wcsmbs/uchar.h: Test __STDC_VERSION__.
14311
3e1aa84e
UD
143122012-01-20 Ulrich Drepper <drepper@gmail.com>
14313
14314 * nscd/aicache.c (addhstaiX): Do not cache negative results of
14315 transient errors.
14316 * nscd/grpcache.c (cache_addgr): Likewise.
14317 * nscd/hstcache.c (cache_addhst): Likewise.
14318 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14319 * nscd/pwdcache.c (cache_addpw): Likewise.
14320 * nscd/servicescache.c (cache_addserv): Likewise.
14321
400aa020
UD
143222012-01-16 Ulrich Drepper <drepper@gmail.com>
14323
d77e7869
UD
14324 * malloc/malloc.c: Various cleanups.
14325 * malloc/hooks.c: Likewise.
14326
400aa020
UD
14327 * stdlib/Makefile (tests): Add bug-fmtmsg1.
14328 * stdlib/bug-fmtmsg1.c: New file.
14329
14330 * stdlib/fmtmsg.c (init): Add missing unlock.
14331 Patch by Peng Haitao <penght@cn.fujitsu.com>.
14332
e0a309cf
MP
143332012-01-12 Marek Polacek <polacek@redhat.com>
14334
14335 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
14336 and _GNU_SOURCE.
14337
929d11c7
WS
143382012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14339
14340 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
14341 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
14342 macro to ensure uniqueness of label name.
14343 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14344 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14345
41d0e869
UD
143462012-01-11 Ulrich Drepper <drepper@gmail.com>
14347
0cc5ed3b
UD
14348 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
14349
41d0e869
UD
14350 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
14351 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14352 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14353 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
14354
a47a831a
UD
143552012-01-10 Ulrich Drepper <drepper@gmail.com>
14356
daa891c0
UD
14357 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
14358
14359 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
14360 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14361 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14362
e58ef0f2
UD
14363 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
14364
a47a831a 14365 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
14366 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14367 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 14368 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
14369
14370 * math/bits/math-finite.h: Add ldexp support.
14371
a0bfc9c7
MP
143722012-01-10 Marek Polacek <polacek@redhat.com>
14373
14374 * locale/programs/localedef.h (show_archive_content): Add noreturn
14375 attribute.
14376
d6e97a1d
UD
143772012-01-09 Ulrich Drepper <drepper@gmail.com>
14378
14379 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
14380
d5835c26
UD
143812012-01-08 Ulrich Drepper <drepper@gmail.com>
14382
e5f484c6
UD
14383 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
14384
d5835c26
UD
14385 * io/Makefile (headers): Add bits/poll2.h.
14386
d1f741e9
WS
143872011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
14388
14389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
14390 typo #include statement.
14391
ec09c1c4
UD
143922012-01-08 Ulrich Drepper <drepper@gmail.com>
14393
14394 * include/sys/cdefs.h: Define __attribute_alloc_size.
14395 * catgets/gencat.c: Add alloc_size attribute and apply consistently
14396 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
14397 * elf/pldd.c: Likewise.
14398 * iconv/iconv_charmap.c: Likewise.
14399 * iconv/iconvconfig.c: Likewise.
14400 * iconv/strtab.c: Likewise.
14401 * locale/programs/locale.c: Likewise.
14402 * locale/programs/localedef.h: Likewise.
14403 * locale/programs/simple-hash.c: Likewise.
14404 * nscd/nscd.h: Likewise.
14405 * nss/makedb.c: Likewise.
14406 * sysdeps/generic/ldconfig.h: Likewise.
14407 * locale/programs/localedef.c: Remove xmalloc prototype.
14408 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
14409
20b38e03
PP
144102012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14411
14412 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
14413 appropriate.
14414
a0da5fe1
UD
144152012-01-08 Ulrich Drepper <drepper@gmail.com>
14416
1d5a644a 14417 * math/Makefile (tests): Add tst-CMPLX.
669704fd 14418 * math/tst-CMPLX.c: New file.
1d5a644a 14419
8784a6db
UD
14420 * math/complex.h (CMPLXL): Fix typo.
14421
d9a216c0
UD
14422 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
14423 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
14424 GLIBC_2.16.
14425 * debug/tst-chk1.c: Add poll and ppoll tests.
14426 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
14427 * include/sys/poll.h: Add hidden proto for ppoll.
14428 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
14429 * sysdeps/mach/hurd/ppoll.c: Likewise.
14430 * io/ppoll.c: Likewise.
14431 * debug/poll_chk.c: New file.
14432 * debug/ppoll_chk.c: New file.
14433 * include/bits/poll2.h: New file.
14434 * io/bits/poll2.h: New file.
14435
ac097f5c
UD
14436 [BZ #1350]
14437 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
14438
2119dcfa
UD
14439 * configure.in: static is always set to yes. Remove.
14440 * config.make.in: Don't set build-static.
14441 * Makeconfig: Remove use of build-static.
14442 * dlfcn/Makefile: Likewise.
14443 * elf/Makefile: Likewise.
14444 * math/Makefile: Likewise.
14445 * misc/Makefile: Likewise.
14446 * nptl/Makefile: Likewise.
14447 * sysdeps/mach/hurd/Makefile: Likewise.
14448
121766a9
UD
14449 * configure.in: PWD_P is not used anymore.
14450 * config.make.in: Remove PWD_P entry.
14451
51a1d39c 14452 * configure.in: Remove last remnants of RANLIB.
8720d066 14453 No need to check for signed size_t anymore.
215f4bdc
UD
14454 Don't set libc_commonpagesize and libc_relro_required here for Alpha
14455 and IA-64.
3857022a 14456 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
14457 * aclocal.m4: Likewise.
14458
d3ed7225
UD
14459 * wcsmbs/mbrtoc16.c: Implement using towc function.
14460 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
14461 * wcsmbs/wcsmbsload.c: Likewise.
14462 * iconv/gconv_simple.c: Likewise.
14463 * iconv/gconv_int.h: Likewise.
14464 * iconv/gconv_builtin.h: Likewise.
14465 * iconv/iconv_prog.c: Remove CHAR16 handling.
14466
14467 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
14468
14469 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
14470
a0da5fe1
UD
14471 * configure.in: Remove --with-elf and --enable-bounded options.
14472 Dont set base_machine for ia64. More non-ELF conditions removed.
14473 Remove testing and setting of leading underscore information.
14474 * config.make.in (build-bounded): Set to no.
14475 * config.h.in: Remove NO_UNDERSCORES entry.
14476 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
14477 them.
14478 * csu/start.c: Remove !NO_UNDERSCORE code.
14479 * locale/localeinfo.h: Likewise.
14480 * sysdeps/generic/machine-gmon.h: Likewise.
14481 * sysdeps/generic/sysdep.h: Likewise.
14482 * sysdeps/i386/sysdep.h: Likewise.
14483 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14484 * sysdeps/mach/sysdep.h: Likewise.
14485 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14486 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14487 * sysdeps/sh/sysdep.h: Likewise.
14488 * sysdeps/sparc/sparc32/alloca.S: Likewise.
14489 * sysdeps/unix/i386/sysdep.S: Likewise.
14490 * sysdeps/unix/sparc/start.c: Likewise.
14491 * sysdeps/unix/sparc/sysdep.S: Likewise.
14492 * sysdeps/unix/sparc/sysdep.h: Likewise.
14493 * sysdeps/unix/start.c: Likewise.
14494 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14495 * sysdeps/x86_64/sysdep.h: Likewise.
14496
df78418a
UD
144972012-01-07 Ulrich Drepper <drepper@gmail.com>
14498
a784e502
UD
14499 [BZ #13553]
14500 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
14501 for non-gcc.
14502 * argp/argp-fmtstream.h: Use const instead __const.
14503 * argp/argp.h: Likewise.
14504 * assert/assert.h: Likewise.
14505 * bits/fenv.h: Likewise.
14506 * bits/sched.h: Likewise.
14507 * bits/sigset.h: Likewise.
14508 * bits/sigthread.h: Likewise.
14509 * catgets/nl_types.h: Likewise.
14510 * conform/data/pthread.h-data: Likewise.
14511 * crypt/crypt-private.h: Likewise.
14512 * crypt/crypt.h: Likewise.
14513 * crypt/crypt_util.c: Likewise.
14514 * ctype/ctype.h: Likewise.
14515 * debug/execinfo.h: Likewise.
14516 * debug/mbsnrtowcs_chk.c: Likewise.
14517 * debug/mbsrtowcs_chk.c: Likewise.
14518 * debug/wcsnrtombs_chk.c: Likewise.
14519 * debug/wcsrtombs_chk.c: Likewise.
14520 * debug/wcstombs_chk.c: Likewise.
14521 * dirent/dirent.h: Likewise.
14522 * dlfcn/dlfcn.h: Likewise.
14523 * elf/neededtest4.c: Likewise.
14524 * grp/grp.h: Likewise.
14525 * gshadow/gshadow.h: Likewise.
14526 * iconv/gconv.h: Likewise.
14527 * iconv/gconv_int.h: Likewise.
14528 * iconv/gconv_simple.c: Likewise.
14529 * iconv/iconv.h: Likewise.
14530 * iconv/loop.c: Likewise.
14531 * iconv/skeleton.c: Likewise.
14532 * include/aio.h: Likewise.
14533 * include/aliases.h: Likewise.
14534 * include/argz.h: Likewise.
14535 * include/arpa/inet.h: Likewise.
14536 * include/assert.h: Likewise.
14537 * include/dirent.h: Likewise.
14538 * include/dlfcn.h: Likewise.
14539 * include/execinfo.h: Likewise.
14540 * include/fcntl.h: Likewise.
14541 * include/fenv.h: Likewise.
14542 * include/glob.h: Likewise.
14543 * include/grp.h: Likewise.
14544 * include/libintl.h: Likewise.
14545 * include/mntent.h: Likewise.
14546 * include/netdb.h: Likewise.
14547 * include/pwd.h: Likewise.
14548 * include/rpc/netdb.h: Likewise.
14549 * include/sched.h: Likewise.
14550 * include/search.h: Likewise.
14551 * include/shadow.h: Likewise.
14552 * include/signal.h: Likewise.
14553 * include/stdio.h: Likewise.
14554 * include/stdlib.h: Likewise.
14555 * include/string.h: Likewise.
14556 * include/sys/socket.h: Likewise.
14557 * include/sys/stat.h: Likewise.
14558 * include/sys/statfs.h: Likewise.
14559 * include/sys/statvfs.h: Likewise.
14560 * include/sys/syslog.h: Likewise.
14561 * include/sys/time.h: Likewise.
14562 * include/sys/uio.h: Likewise.
14563 * include/time.h: Likewise.
14564 * include/unistd.h: Likewise.
14565 * include/utmp.h: Likewise.
14566 * include/wchar.h: Likewise.
14567 * include/wctype.h: Likewise.
14568 * inet/aliases.h: Likewise.
14569 * inet/arpa/inet.h: Likewise.
14570 * inet/netinet/ether.h: Likewise.
14571 * inet/netinet/in.h: Likewise.
14572 * intl/libintl.h: Likewise.
14573 * io/bits/fcntl2.h: Likewise.
14574 * io/fcntl.h: Likewise.
14575 * io/ftw.h: Likewise.
14576 * io/sys/poll.h: Likewise.
14577 * io/sys/stat.h: Likewise.
14578 * io/sys/statfs.h: Likewise.
14579 * io/sys/statvfs.h: Likewise.
14580 * io/utime.h: Likewise.
14581 * libio/bits/stdio.h: Likewise.
14582 * libio/bits/stdio2.h: Likewise.
14583 * libio/libio.h: Likewise.
14584 * libio/libioP.h: Likewise.
14585 * libio/stdio.h: Likewise.
14586 * locale/lc-ctype.c: Likewise.
14587 * locale/locale.h: Likewise.
14588 * login/utmp.h: Likewise.
14589 * malloc/arena.c: Likewise.
14590 * malloc/malloc.c: Likewise.
14591 * malloc/malloc.h: Likewise.
14592 * malloc/mcheck.c: Likewise.
14593 * malloc/mtrace.c: Likewise.
14594 * math/bits/mathcalls.h: Likewise.
14595 * math/fenv.h: Likewise.
14596 * math/math_private.h: Likewise.
14597 * misc/bits/error.h: Likewise.
14598 * misc/bits/syslog.h: Likewise.
14599 * misc/err.h: Likewise.
14600 * misc/error.h: Likewise.
14601 * misc/fstab.h: Likewise.
14602 * misc/mntent.h: Likewise.
14603 * misc/regexp.h: Likewise.
14604 * misc/search.h: Likewise.
14605 * misc/sgtty.h: Likewise.
14606 * misc/sys/mman.h: Likewise.
14607 * misc/sys/syslog.h: Likewise.
14608 * misc/sys/uio.h: Likewise.
14609 * misc/sys/xattr.h: Likewise.
14610 * misc/ttyent.h: Likewise.
14611 * nis/rpcsvc/ypclnt.h: Likewise.
14612 * nss/nss.h: Likewise.
14613 * posix/bits/unistd.h: Likewise.
14614 * posix/fnmatch.h: Likewise.
14615 * posix/glob.h: Likewise.
14616 * posix/sched.h: Likewise.
14617 * posix/spawn.h: Likewise.
14618 * posix/sys/wait.h: Likewise.
14619 * posix/unistd.h: Likewise.
14620 * posix/wordexp.h: Likewise.
14621 * pwd/pwd.h: Likewise.
14622 * resolv/netdb.h: Likewise.
14623 * resource/sys/resource.h: Likewise.
14624 * rt/aio.h: Likewise.
14625 * rt/bits/mqueue2.h: Likewise.
14626 * rt/mqueue.h: Likewise.
14627 * shadow/shadow.h: Likewise.
14628 * signal/signal.h: Likewise.
14629 * socket/send.c: Likewise.
14630 * socket/sendto.c: Likewise.
14631 * socket/sys/socket.h: Likewise.
14632 * stdio-common/printf.h: Likewise.
14633 * stdlib/bits/stdlib.h: Likewise.
14634 * stdlib/fmtmsg.h: Likewise.
14635 * stdlib/monetary.h: Likewise.
14636 * stdlib/stdlib.h: Likewise.
14637 * stdlib/ucontext.h: Likewise.
14638 * streams/stropts.h: Likewise.
14639 * string/argz.h: Likewise.
14640 * string/bits/string2.h: Likewise.
14641 * string/string.h: Likewise.
14642 * string/strings.h: Likewise.
14643 * sunrpc/rpc/auth.h: Likewise.
14644 * sunrpc/rpc/auth_des.h: Likewise.
14645 * sunrpc/rpc/clnt.h: Likewise.
14646 * sunrpc/rpc/netdb.h: Likewise.
14647 * sunrpc/rpc/pmap_clnt.h: Likewise.
14648 * sunrpc/rpc/xdr.h: Likewise.
14649 * sysdeps/generic/inttypes.h: Likewise.
14650 * sysdeps/generic/net/if.h: Likewise.
14651 * sysdeps/generic/sys/swap.h: Likewise.
14652 * sysdeps/gnu/net/if.h: Likewise.
14653 * sysdeps/gnu/utmpx.h: Likewise.
14654 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
14655 * sysdeps/i386/i486/bits/string.h: Likewise.
14656 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
14657 * sysdeps/s390/bits/string.h: Likewise.
14658 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
14659 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
14660 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
14661 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
14662 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14663 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
14664 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
14665 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
14666 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
14667 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14668 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
14669 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14670 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
14671 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14672 * sysdeps/unix/sysv/linux/readv.c: Likewise.
14673 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14674 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14675 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14676 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14677 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14678 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14679 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14680 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14681 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14682 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14683 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14684 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14685 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14686 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14687 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14688 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14689 * sysvipc/sys/ipc.h: Likewise.
14690 * sysvipc/sys/msg.h: Likewise.
14691 * sysvipc/sys/sem.h: Likewise.
14692 * sysvipc/sys/shm.h: Likewise.
14693 * termios/termios.h: Likewise.
14694 * time/sys/time.h: Likewise.
14695 * time/time.h: Likewise.
14696 * wcsmbs/bits/wchar2.h: Likewise.
14697 * wcsmbs/uchar.h: Likewise.
14698 * wcsmbs/wchar.h: Likewise.
14699 * wctype/wctype.h: Likewise.
14700
0269750c
UD
14701 [BZ #13551]
14702 * Makeconfig: Remove all but ELF support including AIX support.
14703 * Makerules: Likewise.
14704 * config.h.in: Likewise.
14705 * config.make.in: Likewise.
14706 * configure: Likewise.
14707 * configure.in: Likewise.
14708 * csu/Makefile: Likewise.
14709 * csu/version.c: Likewise.
14710 * debug/Makefile: Likewise.
14711 * dlfcn/Makefile: Likewise.
14712 * elf/Makefile: Likewise.
14713 * extra-lib.mk: Likewise.
14714 * iconv/Makefile: Likewise.
14715 * include/libc-symbols.h: Likewise.
14716 * include/shlib-compat.h: Likewise.
14717 * resolv/Makefile: Likewise.
14718 * resolv/res_libc.c: Likewise.
14719 * rt/Makefile: Likewise.
14720 * sysdeps/i386/asm-syntax.h: Likewise.
14721 * sysdeps/i386/sysdep.h: Likewise.
14722 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14723 * sysdeps/mach/sysdep.h: Likewise.
14724 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14725 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14726 * sysdeps/s390/asm-syntax.h: Likewise.
14727 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14728 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14729 * sysdeps/sh/sysdep.h: Likewise.
14730 * sysdeps/unix/sparc/sysdep.h: Likewise.
14731 * sysdeps/wordsize-32/divdi3.c: Likewise.
14732 * sysdeps/x86_64/sysdep.h: Likewise.
14733
00bbd29b
UD
14734 * argp/Versions: Remove _argp_unlock_xxx.
14735
14736 [BZ #13559]
14737 * abilist/ld.abilist: Update. Adjust for removal of tls option.
14738 * abilist/libBrokenLocale.abilist: Likewise.
14739 * abilist/libanl.abilist: Likewise.
14740 * abilist/libc.abilist: Likewise.
14741 * abilist/libcrypt.abilist: Likewise.
14742 * abilist/libdl.abilist: Likewise.
14743 * abilist/libm.abilist: Likewise.
14744 * abilist/libnsl.abilist: Likewise.
14745 * abilist/libpthread.abilist: Likewise.
14746 * abilist/libresolv.abilist: Likewise.
14747 * abilist/librt.abilist: Likewise.
14748 * abilist/libthread_db.abilist: Likewise.
14749 * abilist/libutil.abilist: Likewise.
14750 * abilist/libnss_db.abilist: New file.
14751
14752 * scripts/abilist.awk: Add support for indirect functions.
14753
a2693a0e
UD
14754 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14755
3f05895f
UD
14756 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14757
ecb6fb48
UD
14758 * shlib-versions: Remove entries for ports architectures.
14759
664f8cb9
UD
14760 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
14761 files in ports.
14762 * elf/stackguard-macros.h: Remove support for IA-64.
14763 * elf/tst-auditmod1.c: Likewise.
14764 * sysdeps/generic/ldsodefs.h: Likewise.
14765
7ae81d88
UD
14766 * sysdeps/unix/sysv/linux/configure.in: Ports should define
14767 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14768 configure files.
14769
bdeba135
UD
14770 [BZ #13552]
14771 * configure.in: Remove --enable-omitfp support.
14772 * FAQ.in: Adjust.
14773 * config.make.in: Likewise.
14774 * Makeconfig: Likewise.
14775 * manual/install.texi: Likewise.
14776
d75a0a62
UD
14777 In case anyone cares, the IA-64 architecture could move to ports.
14778 * sysdeps/ia64/*: Removed.
14779 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 14780 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 14781
dcc9756b
UD
14782 [BZ #13555]
14783 * configure.in: Remove entries for unsupported architectures.
14784
d3761ebc 14785 [BZ #13533]
9954432e
UD
14786 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14787 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
14788 routines.
14789 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14790 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14791 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
14792 fall back to using wcrtomb.
14793 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14794 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
14795 renaming.
14796 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14797 * wcsmbs/tst-c16c32-1.c: New file.
14798
14799 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14800 local variable.
14801
c3a87236
UD
14802 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14803
28926a1b
UD
14804 * elf/tst-unique3.cc: Add explicit declaration of gets.
14805 * elf/tst-unique3lib.cc: Likewise.
14806 * elf/tst-unique3lib2.cc: Likewise.
14807 * elf/tst-unique4.cc: Likewise.
14808
df78418a
UD
14809 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14810
8ecd6b2a
JM
148112012-01-06 Joseph Myers <joseph@codesourcery.com>
14812
14813 [BZ #13566]
14814 * assert/assert.h (static_assert): Don't define for C++.
14815 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14816 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14817
9f115170
UD
148182012-01-03 Ulrich Drepper <drepper@gmail.com>
14819
5e0d0300
UD
14820 * iconv/loop.c (single loop): Fix assertion in storing of
14821 remaining bytes.
14822
9f115170
UD
14823 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14824
81fb02b0
UD
148252012-01-01 Ulrich Drepper <drepper@gmail.com>
14826
14827 * posix/getconf.c: Update copyright year.
14828 * nss/getent.c: Likewise.
a316c1f6 14829 * nss/makedb.c: Likewise.
81fb02b0
UD
14830 * iconv/iconvconfig.c: Likewise.
14831 * iconv/iconv_prog.c: Likewise.
14832 * elf/ldconfig.c: Likewise.
a316c1f6
UD
14833 * elf/pldd.c: Likewise.
14834 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
14835 * catgets/gencat.c: Likewise.
14836 * csu/version.c: Likewise.
14837 * elf/ldd.bash.in: Likewise.
14838 * elf/sprof.c (print_version): Likewise.
14839 * locale/programs/locale.c: Likewise.
14840 * locale/programs/localedef.c: Likewise.
a316c1f6 14841 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
14842 * nscd/nscd.c (print_version): Likewise.
14843 * debug/xtrace.sh: Likewise.
14844 * malloc/memusage.sh: Likewise.
14845 * malloc/mtrace.pl: Likewise.
14846 * debug/catchsegv.sh: Likewise.
14847
2ba92745
JJ
148482011-12-30 Jakub Jelinek <jakub@redhat.com>
14849
14850 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14851 pure attribute.
14852
dadebdae
UD
148532011-12-24 Ulrich Drepper <drepper@gmail.com>
14854
d3761ebc 14855 [BZ #13533]
db6af3eb
UD
14856 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14857 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14858 transformations.
14859 * iconv/gconv_int.h: Likewise.
14860 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14861 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14862 from libc for GLIBC_2.16.
14863 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14864 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14865 * wcsmbs/uchar.h: Really define mbstate_t.
14866 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14867 * wcsmbs/c16rtomb.c: New file.
14868 * wcsmbs/mbrtoc16.c: New file.
14869 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14870 for C/POSIX locale.
14871 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14872 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14873
dadebdae
UD
14874 * wcsmbs/wchar.h: Add missing __restrict.
14875
67371b56
UD
148762011-12-23 Ulrich Drepper <drepper@gmail.com>
14877
74033a25
UD
14878 [BZ #13532]
14879 * time/Makefile (routines): Add timespec_get.
14880 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14881 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14882 timespec for ISO C11.
14883 * time/timespec_get.c: New file.
14884 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14885 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14886
380d7e87
UD
14887 [BZ #13531]
14888 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14889 * stdlib/stdlib.h: Declare aligned_alloc.
14890 * Versions.def: Add GLIBC_2.16 for libc.
14891 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14892
4e9e7a35
UD
14893 [BZ 13527]
14894 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14895 ISO C11.
14896
380d7e87 14897 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
14898 code.
14899
03a71829
UD
14900 [BZ #13528]
14901 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14902
839e283e
UD
14903 [BZ #13529]
14904 * assert/assert.h (static_assert): Define.
14905
ce5294e2 14906 * version.h: Update for 2.16 development version.
90fa7312 14907
8d44e150 14908 [BZ #13526]
d7809905
UD
14909 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14910 _ISOC11_SOURCE.
14911
c0da14cd
UD
14912 * version.h (RELEASE): Bump for 2.15 release.
14913 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14914
530a3249
MP
14915 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14916 Patch by Marek Polacek <mpolacek@redhat.com>.
14917
67371b56
UD
14918 * bits/byteswap.h: Protect long long constants with __extension__.
14919 * sysdeps/i386/bits/byteswap.h: Likewise.
14920 * sysdeps/ia64/bits/byteswap.h: Likewise.
14921 * sysdeps/s390/bits/byteswap.h: Likewise.
14922 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14923
15db4de1
LD
149242011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14925
14926 [BZ #13540]
bbe315ea
LD
14927 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14928 destination buffer.
15db4de1
LD
14929 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14930
2b2596b1
MP
149312011-12-23 Marek Polacek <polacek@redhat.com>
14932
14933 * elf/dl-addr.c (determine_info): Add inline keyword.
14934 * elf/tst-auditmod4b.c (check_avx): Likewise.
14935 * elf/tst-auditmod6b.c (check_avx): Likewise.
14936 * elf/tst-auditmod6c.c (check_avx): Likewise.
14937 * elf/tst-auditmod7b.c (check_avx): Likewise.
14938
70c6c246
UD
149392011-12-23 Ulrich Drepper <drepper@gmail.com>
14940
14941 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14942 !__SSE_MATH__.
14943
c044cf14
LD
149442011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14945
15db4de1 14946 [BZ #13540]
c044cf14
LD
14947 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14948 processing for last bytes.
14949
6b13d9d9
BH
149502011-08-06 Bruno Haible <bruno@clisp.org>
14951
d455f537
BH
14952 [BZ #13061]
14953 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14954 U+0385, not to U+1FEE.
14955
6b13d9d9
BH
14956 [BZ #13062]
14957 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14958 entry for U+00A5 U+0301.
14959
db910efd
UD
149602011-12-22 Ulrich Drepper <drepper@gmail.com>
14961
27deeafc
UD
14962 [BZ #13166]
14963 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14964 buffer for the output is too small.
14965
aed9d171
UD
14966 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14967 optimization.
14968
db910efd
UD
14969 [BZ #13185]
14970 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14971 SSE flags if possible.
14972
2bd779ae
LD
149732011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14974
e7f9dac3 14975 [BZ #13540]
2bd779ae
LD
14976 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14977 processing for last bytes.
14978
154bfc16
JM
149792011-12-22 Joseph Myers <joseph@codesourcery.com>
14980
14981 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14982 (syscall-list-default-options, syscall-list-default-condition)
14983 (syscall-list-includes): Define.
14984 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14985 list of ABIs and options and #if conditions for each ABI. Do not
14986 handle common syscalls between ABIs specially.
14987 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14988 Remove.
14989 (syscall-list-variants, syscall-list-32bit-options)
14990 (syscall-list-32bit-condition, syscall-list-64bit-options)
14991 (syscall-list-64bit-condition): Define.
14992 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14993 (syscall-list-variants, syscall-list-32bit-options)
14994 (syscall-list-32bit-condition, syscall-list-64bit-options)
14995 (syscall-list-64bit-condition): Define.
14996 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14997 Remove.
14998 (syscall-list-variants, syscall-list-32bit-options)
14999 (syscall-list-32bit-condition, syscall-list-64bit-options)
15000 (syscall-list-64bit-condition): Define.
15001 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15002 Remove.
15003 (syscall-list-variants, syscall-list-32bit-options)
15004 (syscall-list-32bit-condition, syscall-list-64bit-options)
15005 (syscall-list-64bit-condition): Define.
15006
21eaf3a5
UD
150072011-12-22 Ulrich Drepper <drepper@gmail.com>
15008
16c6f992
UD
15009 * locale/iso-639.def: Add brx entry.
15010
41043168
UD
15011 [BZ #13328]
15012 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15013 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15014
21eaf3a5
UD
15015 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15016 __feraiseexcept_renamed.
15017
e3a851a2
UD
150182011-12-21 Ulrich Drepper <drepper@gmail.com>
15019
4920765e
UD
15020 [BZ #13538]
15021 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15022 EPOLLET with unsigned values.
15023 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15024 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15025
e3a851a2
UD
15026 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15027 to large cancellation.
15028 * math/s_cacoshf.c: Likewise.
15029 * math/s_cacoshl.c: Likewise.
15030
b27e24b8
RK
150312011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15032
15033 [BZ #13305]
aebefeee 15034 [BZ #12786]
b27e24b8
RK
15035 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15036 * math/s_cacoshf.c: Likewise.
15037 * math/s_cacoshl.c: Likewise.
15038
ee190f67
UD
150392011-12-21 Ulrich Drepper <drepper@gmail.com>
15040
15041 [BZ #13439]
15042 * iconv/gconv.h: Define __GCONV_SWAP.
15043 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15044 * iconvdata/utf-16.c: Likewise.
15045 * iconvdata/utf-32.c: Likewise.
15046
707f25df
AS
150472011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15048
15049 [BZ #13524]
15050 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15051 numerator after shifting it by one limb.
15052
d2daaa1e
RÁE
150532011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15054
15055 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15056 under [__USE_EXTERN_INLINES].
15057
a4647e72
UD
150582011-12-17 Ulrich Drepper <drepper@gmail.com>
15059
15060 [BZ #13446]
15061 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15062
f0b264f1
AZ
150632011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15064
15065 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15066 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15067 optimized code.
15068 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15069 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15070 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15071 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15072 for strncasecmp/strncasecmp_l compilation.
15073 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15074 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15075
8ef4f244
MP
150762011-12-08 Marek Polacek <mpolacek@redhat.com>
15077
15078 [BZ #13484]
15079 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15080 of __asm__.
15081
97ac2654
UD
150822011-12-17 Ulrich Drepper <drepper@gmail.com>
15083
15084 [BZ #13506]
15085 * time/tzfile.c (__tzfile_read): Check values from file header.
15086
91d2a845
WS
150872011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15088
15089 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15090 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15091 * powerpc/powerpc32/dl-start.S: Likewise.
15092 * powerpc/powerpc32/elf/start.S: Likewise.
15093 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15094 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15095 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15096 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15097 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15098 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15099 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15100 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15101 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15102 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15103 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15104 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15105 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15106 * powerpc/powerpc32/memset.S: Likewise.
15107 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15108 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15109 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15110 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15111 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15112 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15113 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15114 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15115 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15116 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15117 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15118 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15119 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15120
a1267ba1
AZ
151212011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15122
15123 * math/libm-test.inc: Added more nearbyint tests.
15124 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15125 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15126 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15127 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15128
ad8ac1bd
RL
151292011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15130
15131 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15132 FD_CLOEXEC.
15133
1d3e4b61
UD
151342011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15135
15136 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15137 Add wcscpy-ssse3 wcscpy-c.
15138 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15139 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15140 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15141 * sysdeps/x86_64/wcschr.S: New file.
15142 * sysdeps/x86_64/wcsrchr.S: New file.
15143 * string/test-strcmp.c: Remove checking of wcscmp function for
15144 wrong alignments.
15145 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15146 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15147 wcsrchr-sse2 wcsrchr-c.
15148 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15149 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15150 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15151 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15152 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15153 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15154 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15155 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15156 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15157 * wcsmbc/wcschr.c (WCSCHR): New macro.
15158
5b330a2d
UD
151592011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15160
15161 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15162 * wcsmbs/test-wcsrchr.c: New file.
15163 * string/test-strrchr.c: Add wcsrchr support.
15164 (WIDE): New macro.
15165 * wcsmbs/test-wcscpy.c: New file.
15166 * string/test-strcpy.c: Add wcscpy support.
15167 (WIDE): New macro.
26428b7c 15168
f039c043
UD
151692011-12-10 Ulrich Drepper <drepper@gmail.com>
15170
15171 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15172 the inner loop.
15173
850fb039
AS
151742011-12-06 Andreas Schwab <schwab@linux-m68k.org>
15175
15176 [BZ #13472]
15177 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15178
4efbd5cb
UD
151792011-12-04 Ulrich Drepper <drepper@gmail.com>
15180
52ff5dd0 15181 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 15182 Minor optimizations.
52ff5dd0 15183
4efbd5cb
UD
15184 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15185 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15186 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15187
8a426e12
UD
151882011-12-03 Ulrich Drepper <drepper@gmail.com>
15189
aff2453d
UD
15190 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15191 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15192 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15193 for gcc to avoid warnings.
15194 * inet/Makefile (tests): Add tst-checks.
15195 * inet/tst-checks.c: New file.
15196
15197 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15198 warning.
15199
15200 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15201 __wmemcmp_sse2.
15202
15203 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15204 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15205
8a426e12
UD
15206 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
15207
9bea3473
UD
152082011-12-02 Ulrich Drepper <drepper@gmail.com>
15209
3a965496
UD
15210 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
15211 problem.
15212
9bea3473
UD
15213 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
15214
f101631b
UD
152152011-11-29 Joseph Myers <joseph@codesourcery.com>
15216
15217 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
15218 conditional on GCC version.
15219 (__arch_compare_and_exchange_val_8_acq)
15220 (__arch_compare_and_exchange_val_16_acq)
15221 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
15222 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
15223 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
15224
a98275aa
UD
152252011-12-02 Joseph Myers <joseph@codesourcery.com>
15226
15227 * sysdeps/sh/backtrace.c: New file.
15228
d4cc29a2
AS
152292011-12-02 Andreas Schwab <schwab@redhat.com>
15230
15231 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
15232 parenthesis.
15233
6257af2d
AS
152342011-12-01 Andreas Schwab <schwab@redhat.com>
15235
15236 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
15237 falling back to utime.
15238
b5f44c1a
AS
152392011-11-30 Andreas Schwab <schwab@redhat.com>
15240
15241 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
15242 expectations for float.
15243
f3a6cc0a
AS
152442011-11-29 Andreas Schwab <schwab@redhat.com>
15245
15246 * locale/weight.h (findidx): Add parameter len.
15247 * locale/weightwc.h (findidx): Likewise.
15248 * posix/fnmatch_loop.c (FCT): Adjust caller.
15249 * posix/regcomp.c (build_equiv_class): Likewise.
15250 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
15251 * posix/regexec.c (check_node_accept_bytes): Likewise.
15252 * string/strcoll_l.c (STRCOLL): Likewise.
15253 * string/strxfrm_l.c (STRXFRM): Likewise.
15254
9d65ea3a
UD
152552011-11-17 Ulrich Drepper <drepper@gmail.com>
15256
15257 * Makefile.in: Remove CVSOPT handling.
15258 * configure.in: Remove use of AC_REVISION.
15259 * iconvdata/Makefile (distribute): No need to filter out CVS.
15260 * scripts/list-sources.sh: Remove CVS, subversion and monotone
15261 handling.
15262
5583a086
AS
152632011-11-16 Andreas Schwab <schwab@redhat.com>
15264
15265 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
15266 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
15267 [USE_AS_STRNCASECMP_L]: Likewise.
15268 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
15269 NO_TLS_DIRECT_SEG_REFS.
15270 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
15271 Fix argument offsets for non-PIC.
15272 [USE_AS_STRNCASECMP_L]: Likewise.
15273 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
15274 NO_TLS_DIRECT_SEG_REFS.
15275
d62a8200
UD
152762011-11-15 Ulrich Drepper <drepper@gmail.com>
15277
9d65ea3a 15278 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
15279 O_CLOEXEC.
15280 * locale/loadlocale.c (_nl_load_locale): Likewise.
15281
09f93bd3
AS
152822011-11-15 Andreas Schwab <schwab@redhat.com>
15283
446514f9
AS
15284 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
15285 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
15286 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
15287 (SYSCALL_GETTIME): Set errno on error.
15288
09f93bd3
AS
15289 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
15290 count references to noai6ai_cached.
15291
312be3f9
UD
152922011-11-15 Ulrich Drepper <drepper@gmail.com>
15293
15294 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
15295
15296 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
15297 FD_CLOEXEC for /proc/self/maps.
15298
15299 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
15300 FD_CLOEXEC for /proc/meminfo.
15301
15302 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
15303 gai.conf.
15304
15305 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
15306 FD_CLOEXEC for given file.
15307
15308 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
15309
15310 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
15311 FD_CLOEXEC for /etc/hosts.
15312 (_gethtent): Likewise.
15313
15314 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
15315
15316 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
15317 cancellation and set FD_CLOEXEC for /etc/netgroup.
15318
15319 * nss/nss_files/files-key.c (search): Don't allow cancellation when
15320 reading /etc/publickey.
15321
15322 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
15323 allow cancellation when reading /etc/group.
15324
15325 * nss/nss_files/files-alias.c (internal_setent): Don't allow
15326 cancellation.
15327 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
15328
15329 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
15330 when using data file.
15331
15332 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
15333
15334 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
15335 (write_nis_obj): Use "c" and "e" in fopen.
15336
15337 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
15338
15339 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
15340
15341 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
15342
15343 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
15344
15345 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
15346 locale.alias.
15347
15348 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
15349
15350 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
15351
15352 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
15353
15354 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
15355 file parsing and set FD_CLOEXEC.
15356
82af0fa8
UD
153572011-11-14 Ulrich Drepper <drepper@gmail.com>
15358
15359 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
15360
a5fb313c
AS
153612011-11-14 Andreas Schwab <schwab@redhat.com>
15362
15363 * malloc/arena.c (arena_get2): Don't call reused_arena when
15364 _int_new_arena failed.
15365
6abf3465
UD
153662011-11-14 Ulrich Drepper <drepper@gmail.com>
15367
15368 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
15369 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
15370 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
15371 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15372 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15373 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
15374 to compile strcasecmp and strncasecmp.
15375 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
15376 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
15377
15378 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
15379
76e3966e
UD
153802011-11-13 Ulrich Drepper <drepper@gmail.com>
15381
15382 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
15383 locale-defines.sym to gen-as-const-headers.
15384 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
15385 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
15386 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
15387 to compile strcasecmp and strncasecmp.
15388 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
15389 strcasecmp_l and strncasecmp_l.
15390 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
15391 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
15392 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
15393 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
15394 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
15395 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
15396 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
15397 * sysdeps/i386/i686/multiarch/strncase.S: New file.
15398 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
15399 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
15400 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
15401
ab26144e
UD
154022011-11-12 Ulrich Drepper <drepper@gmail.com>
15403
7edb22ef
UD
15404 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
15405 result of SYSDEP_GETTIME_CPU to retval.
15406 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
15407 parameter list to macro. Remove trailing semicolon. Adjust users.
15408
9694fc44
UD
15409 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
15410 variable.
15411
8ad89ef8
UD
15412 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
15413 mantissa words.
15414 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15415
0c822ef9
UD
15416 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
15417 from unused variable.
15418
874e0564
UD
15419 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
15420 DWARF definitions.
15421 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
15422 for assembling.
15423
3a2edc79
UD
15424 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
15425 over namespaces.
15426
f3c2577f
UD
15427 * sunrpc/rpc_prot.c (rejected): Fix case value.
15428
294ce126
UD
15429 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
15430 unsigned long long int to avoid warnings in shift.
15431
5e2b63c6
UD
15432 * posix/regex_internal.c (re_string_reconstruct): Actually use result
15433 of use of trans.
15434 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
15435 variable tmp.
15436
e7f4b08e
UD
15437 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
15438 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
15439 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
15440
ab26144e
UD
15441 * nis/nis_table.c (nis_list): Use variable of correct type for
15442 result of __follow_path call.
15443
8a6d5255
AZ
154442011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15445
15446 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
15447 of math functions ceil, trunc, floor, round, and sqrt, when
15448 avaliable on the platform.
15449 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
15450 name clash.
15451 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15452 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15453 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15454
aaddc98c
MP
154552011-10-30 Marek Polacek <mpolacek@redhat.com>
15456
15457 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
15458 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15459
95b7042b
RM
154602011-11-11 Roland McGrath <roland@hack.frob.com>
15461
15462 * include/unistd.h: Fix __readlink return type.
15463 Reported by Chris Metcalf <cmetcalf@tilera.com>.
15464
57769839
UD
154652011-11-11 Ulrich Drepper <drepper@gmail.com>
15466
15467 * stdlib/ucontext.h: Undo last change for makecontext.
15468
edc5984d
AS
154692011-11-11 Andreas Schwab <schwab@redhat.com>
15470
98591e58
AS
15471 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
15472
edc5984d
AS
15473 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
15474 * setjmp/setjmp.h: Mark functions as non-leaf.
15475 * setjmp/bits/setjmp2.h: Likewise.
15476 * stdlib/ucontext.h: Likewise.
15477
77cdc054
AS
154782011-11-10 Andreas Schwab <schwab@redhat.com>
15479
15480 * malloc/arena.c (_int_new_arena): Don't increment narenas.
15481 (reused_arena): Don't check arena limit.
15482 (arena_get2): Atomically check arena limit.
15483
fe72eebd
UD
154842011-11-08 Ulrich Drepper <drepper@gmail.com>
15485
5f078c32
UD
15486 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
15487 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
15488
fe72eebd
UD
15489 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
15490 instructions.
15491
ae1bc2fa
AS
154922011-11-07 Andreas Schwab <schwab@redhat.com>
15493
7583a88d
AS
15494 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
15495 handler when locking.
15496
ae1bc2fa
AS
15497 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15498 Fix size of allocated buffer.
15499
10fb0bfa
AS
155002011-11-04 Andreas Schwab <schwab@redhat.com>
15501
998832a4
AS
15502 [BZ #10103]
15503 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
15504 declarations for long double functions.
15505 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
15506
10fb0bfa
AS
15507 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
15508
3d7ba52b
AS
155092011-11-03 Andreas Schwab <schwab@redhat.com>
15510
a9ae54a1
AS
15511 * nscd/nscd.c (main): Don't start AVC thread until credentials are
15512 installed.
15513
3d7ba52b
AS
15514 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
15515 is disabled.
15516
bc8db248
ST
155172011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15518
15519 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
15520
45b96dd6
AS
155212011-11-01 Andreas Schwab <schwab@linux-m68k.org>
15522
647776f6
AS
15523 * include/alloca.h (stackinfo_alloca_round): Define.
15524 (extend_alloca): Use it.
15525 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
15526 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
15527 here.
15528
d91a8b93
AS
15529 * scripts/check-local-headers.sh: Ignore libaudit.h.
15530
45b96dd6
AS
15531 * nscd/Makefile (extra-objs): Make recursively expanded.
15532
432d41ce
UD
155332011-11-01 Ulrich Drepper <drepper@gmail.com>
15534
34372fc6
UD
15535 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
15536 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15537
fadb59f8
UD
15538 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
15539 * posix/tst-rfc3484-2.c: Likewise.
15540 * posix/tst-rfc3484-3.c: Likewise.
15541
78239589
UD
15542 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15543 process_vm_writev.
15544 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
15545 process_vm_writev.
15546 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
15547 process_vm_writev from libc using GLIBC_2.15 version.
15548
432d41ce
UD
15549 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
15550
02f9c6cf
PP
155512011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
15552
15553 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
15554 stack usage.
15555
3a2c0242
UD
155562011-10-31 Ulrich Drepper <drepper@gmail.com>
15557
f4ec4833
UD
15558 [BZ #13367]
15559 * nss/getent.c (initgroups_keys): Show error message in case no group
15560 names are given.
15561
3a2c0242
UD
15562 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
15563 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
15564 __bump_nl_timestamp.
15565 * nscd/connections (nscd_init): When host database is served open
15566 netlink socket and request notification about configuration changes.
15567 (main_loop_poll): Track netlink file descriptor and bump timestamp
15568 in case data becomes available.
15569 (main_loop_epoll): Likewise.
15570 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
15571 (database_pers_head): Add extra_data fileds.
15572 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
15573 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
15574 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
15575 Adjust caller.
15576 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
15577 in6ai data, call __free_in6ai.
15578 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
15579 Add -DHAVE_NETLINK.
15580 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
15581 interface information. Reuse previous data if netlink timestamp
15582 is not changed.
15583 (__bump_nl_timestamp): New function.
15584 (__free_in6ai): New function.
15585
636064eb
UD
155862011-10-30 Ulrich Drepper <drepper@gmail.com>
15587
15588 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
15589 close_not_cancel_no_status here.
15590 (__check_pf): Reorganize code a bit to not call close twice if OOM.
15591
9beb2334
UD
155922011-10-29 Ulrich Drepper <drepper@gmail.com>
15593
6ef76f3b
UD
15594 [BZ #13276]
15595 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
15596 return value.
15597
0ffc4f3e 15598 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
15599 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
15600 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
15601
cb95113e
UD
156022011-07-03 Andreas Jaeger <aj@suse.de>
15603
15604 [BZ #10709]
15605 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
15606 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
15607 * math/libm-test.inc (sin_test): Add test case.
15608
a1b560ff
UD
156092011-10-29 Ulrich Drepper <drepper@gmail.com>
15610
c9aaface
UD
15611 [BZ #13337]
15612 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
15613 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15614
d272e7f1
UD
15615 * elf/chroot_canon.c (chroot_canon): Cleanups.
15616
1bc33071
UD
15617 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
15618
1760874d
TJ
15619 [BZ #13335]
15620 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
15621 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15622
51d91b18
UD
15623 * string/test-strchr.c: Make usable for strchrnul testing.
15624 * string/test-strchrnul.c: New file.
15625 * string/Makefile (strop-tests): Add strchrnul.
15626
a1b560ff 15627 * po/it.po: Update from translation team.
b611fb81 15628 * po/es.po: Likewise.
a1b560ff 15629
a5b81e1f
UD
156302011-10-28 Ulrich Drepper <drepper@gmail.com>
15631
fd52bc6d
UD
15632 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
15633 the three constants needed as parameters. Drop the others.
15634 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
15635 __m128i_strloadu_tolower.
52e4b9eb
UD
15636 Create and initialize variable zero and use it in all the places
15637 where _mm_setzero_si128 was used.
fd52bc6d 15638
a5b81e1f
UD
15639 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
15640 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
15641 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
15642 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
15643 anymore.
15644 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
15645 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
15646 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
15647 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
15648 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
15649 __mpranred, __mptan.
15650 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
15651 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
15652 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
15653 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
15654 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
15655 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
15656 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
15657 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
15658 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
15659
b4343346
AS
156602011-10-28 Andreas Schwab <schwab@redhat.com>
15661
0c92d8a8
AS
15662 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
15663 redefine if SHARED.
15664 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
15665
b4343346
AS
15666 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
15667 wide char related routines to wcsmbs subdir.
15668
3871f58f
AS
156692011-10-27 Andreas Schwab <schwab@redhat.com>
15670
15671 [BZ #13344]
15672 * misc/sys/cdefs.h (__THROWNL): Define.
15673 * posix/unistd.h: Use __THREADNL instead of __THREAD
15674 for memory synchronization functions.
15675
94d44d9f
RM
156762011-10-26 Roland McGrath <roland@hack.frob.com>
15677
21b64b15 15678 [BZ #13349]
94d44d9f
RM
15679 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15680 doesn't exist.
15681 * manual/stdio.texi (Obstack Streams): Node removed.
15682
f6ce9294
AS
156832011-10-26 Andreas Schwab <schwab@redhat.com>
15684
80479147
AS
15685 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15686 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15687 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15688
f6ce9294
AS
15689 * math/math_private.h (math_force_eval): Allow non-addressable
15690 arguments.
15691 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15692
618280a1
UD
156932011-10-25 Ulrich Drepper <drepper@gmail.com>
15694
e0016b11
UD
15695 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15696 file is not needed.
15697
15698 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15699 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15700 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15701 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15702 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15703 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15704 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15705 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15706 Add AVX variants.
15707 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15708 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15709 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15710 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15711 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15712 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15713 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15714 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15715 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15716 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15717 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15718 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15719 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15720 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15721 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15722 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15723 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15724 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15725 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15726
15727 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15728 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
15729
618280a1
UD
15730 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15731 place. Use VEX encoding when compiling for AVX.
15732
37822576
AS
157332011-10-25 Andreas Schwab <schwab@redhat.com>
15734
1f1e1947
AS
15735 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15736 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15737
37822576
AS
15738 * string/test-strchr.c (do_test): Don't generate NUL bytes.
15739
31ea014d
UD
157402011-10-25 Ulrich Drepper <drepper@gmail.com>
15741
d7826aa1 15742 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 15743 useless if() expression.
d7826aa1
UD
15744 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15745 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15746 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15747 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15748 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15749 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15750 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15751 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15752 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15753 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15754 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15755 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15756 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15757 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15758 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15759 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15760 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15761 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15762 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15763
31ea014d
UD
15764 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15765
16437fec
AS
157662011-10-25 Andreas Schwab <schwab@redhat.com>
15767
15768 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15769 condition.
15770 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15771
31d3cc00
UD
157722011-10-25 Ulrich Drepper <drepper@gmail.com>
15773
15774 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15775 .text section. Avoid duplicate constants.
15776 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15777 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15778 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15779 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15780 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15781 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15782 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15783 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15784 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15785 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15786 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15787 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15788 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15789 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15790 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15791 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15792 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15793 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15794 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15795 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15796 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15797 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15798 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15799 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15800 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15801 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15802 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15803 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15804 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15805 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15806 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15807 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15808 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15809 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15810 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15811 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15812 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15813 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15814 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15815 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15816 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15817 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15818 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15819 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15820 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15821
58985aa9
UD
158222011-10-24 Ulrich Drepper <drepper@gmail.com>
15823
202c9deb
UD
15824 * sysdeps/x86_64/dla.h: Move to ...
15825 * sysdeps/x86_64/fpu/dla.h: ...here.
15826 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15827 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 15828
af968f62
UD
15829 * config.make.in: Add have-mfma4 entry.
15830 * configure.in: Substitute libc_cv_cc_fma4.
15831 * math/Makefile (dbl-only-routines): Add sincostab.
15832 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15833 Use __sincostab not sincos.
15834 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15835 name is a macro.
15836 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15837 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15838 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15839 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15840 using __copysign.
15841 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15842 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15843 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15844 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15845 and __inv.
15846 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15847 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15848 __copysign.
15849 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15850 define aliases when function name is a macro.
15851 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15852 sysdeps/ieee754/dbl-64/sincos.tbl.
15853 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15854 fma4-enabled routines.
15855 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15856 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15857 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15858 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15859 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15860 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15861 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15862 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15863 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15864 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15865 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15866 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15867 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15868 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15869 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15870 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15871 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15872 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15873 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15874 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15875 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15876 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15877 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15878 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15879 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15880 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15881 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15882 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15883 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15884 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15885
58985aa9
UD
15886 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15887 rename.
15888 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15889 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15890 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15891 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15892 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15893 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15894 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15895 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15896
a201fbcf
AS
158972011-10-24 Andreas Schwab <schwab@redhat.com>
15898
15899 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15900
fc2ee42a
LD
159012011-10-23 Ulrich Drepper <drepper@gmail.com>
15902
bb3129bd
UD
15903 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15904
0275fff8
UD
15905 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15906 prediction.
15907 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15908
2fa2ae85
UD
15909 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15910 Remove unused variable magic_bits.
15911 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15912
fc2ee42a
LD
15913 * string/strnlen.c: Define and use STRNLEN macro.
15914 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15915 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15916 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15917 * wcsmbs/wcslen.c: Define and use WCSLEN.
15918 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15919 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15920 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15921 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15922 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15923 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15924 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15925
ce7dd29f
LD
159262011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15927
15928 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15929 strnlen-sse2-no-bsf.
15930 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15931 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15932 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15933 Add strnlen support.
15934 (USE_AS_STRNLEN): New macro.
15935 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15936 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15937 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15938 * sysdeps/x86_64/wcslen.S: New file.
15939
979c70a3
MZ
159402011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15941
15942 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15943 XMM-moves are used for copying on small sizes.
15944
2d09f82f
LD
159452011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15946
15947 * wcsmbs/Makefile (strop-tests): Add wcschr.
15948 * wcsmbs/test-wcschr.c: New file.
15949 * string/test-strchr.c: Update.
15950 Add wcschr support.
15951 (WIDE): New macro.
15952
619fccca
LD
159532011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15954
2d09f82f 15955 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
15956 * wcsmbs/test-wcslen.c: New file.
15957 * string/test-strlen.c: Update.
15958 Add wcslen support.
15959 (WIDE): New macro.
15960
09f699ea
UD
159612011-10-23 Ulrich Drepper <drepper@gmail.com>
15962
15963 * po/it.po: Update from translation team.
15964
95584d3b
LD
159652011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15966
15967 * sysdeps/x86_64/wcscmp.S: Update.
15968 Fix wrong comparison semantics.
15969 wcscmp shall use signed comparison not unsigned.
15970 Don't use substraction to avoid overflow bug.
15971 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15972 * wcsmbc/wcscmp.c: Likewise.
15973 * string/test-strcmp.c: Likewise.
15974 Add new tests to check cases with negative values.
15975
c8b3296b
UD
159762011-10-23 Ulrich Drepper <drepper@gmail.com>
15977
15978 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15979 * sysdeps/x86_64/dla.h: ...here. New file.
15980 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15981 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15982 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15983 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15984 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15985 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15986 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15987 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15988 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15989
246ad57a
AS
159902011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15991
15992 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15993 __ynl_finite aliases.
15994
a1a87169
UD
159952011-10-22 Ulrich Drepper <drepper@gmail.com>
15996
0d355eb7
UD
15997 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15998
a1a87169
UD
15999 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16000 define DLA_FMA.
16001 [DLA_FMA] (EMULV): Use DLA_FMA.
16002 [DLA_FMA] (MUL12): Use EMULV.
16003 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16004 that are not needed.
16005 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16006 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16007 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16008 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16009 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16010 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16011 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16012
ee2aafe0
AS
160132011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16014
16015 * math/s_nan.c: Undef __nan.
16016 * math/s_nanf.c: Undef __nanf.
16017 * math/s_nanl.c: Undef __nanl.
16018 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16019 "math_private.h".
16020
bc62c2fb
UD
160212011-10-22 Ulrich Drepper <drepper@gmail.com>
16022
77425c63
UD
16023 * math/s_catan.c: Add branch predictions.
16024 * math/s_catanf.c: Likewise.
16025 * math/s_catanh.c: Likewise.
16026 * math/s_catanhf.c: Likewise.
16027 * math/s_catanhl.c: Likewise.
16028 * math/s_catanl.c: Likewise.
16029 * math/s_cexp.c: Likewise.
16030 * math/s_cexpf.c: Likewise.
16031 * math/s_cexpl.c: Likewise.
16032 * math/s_clog.c: Likewise.
16033 * math/s_clog10.c: Likewise.
16034 * math/s_clog10f.c: Likewise.
16035 * math/s_clog10l.c: Likewise.
16036 * math/s_clogf.c: Likewise.
16037 * math/s_clogl.c: Likewise.
16038 * math/s_csqrt.c: Likewise.
16039 * math/s_csqrtf.c: Likewise.
16040 * math/s_csqrtl.c: Likewise.
16041 * math/s_ctanf.c: Likewise.
16042 * math/s_ctanh.c: Likewise.
16043 * math/s_ctanhf.c: Likewise.
16044 * math/s_ctanhl.c: Likewise.
16045 * math/s_ctanl.c: Likewise.
16046
bc62c2fb
UD
16047 * math/math_private.h: Define __nan, __nanf, __nanl.
16048 * math/s_cacosh.c: Include <math_private.h>.
16049 * math/s_cacoshl.c: Likewise.
16050 * math/s_casinh.c: Likewise.
16051 * math/s_casinhf.c: Likewise.
16052 * math/s_casinhl.c: Likewise.
16053 * math/s_ccos.c: Rely entire on ccosh.
16054 * math/s_ccosf.c: Rely entire on ccoshf.
16055 * math/s_ccosl.c: Rely entirely on ccoshl.
16056 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16057 Remove tests for FE_INVALID.
16058 * math/s_ccoshf.c: Likewise.
16059 * math/s_ccoshl.c: Likewise.
16060 * math/s_csin.c: Likewise.
16061 * math/s_csinf.c: Likewise.
16062 * math/s_csinh.c Likewise.
16063 * math/s_csinhf.c: Likewise.
16064 * math/s_csinhl.c: Likewise.
16065 * math/s_csinl.c: Likewise.
16066 * math/s_ctan.c: Likewise.
16067 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16068 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16069 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16070
8ec250a4
UD
160712011-10-21 Ulrich Drepper <drepper@gmail.com>
16072
c196fed8
UD
16073 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16074 compilation problems.
16075
8ec250a4
UD
16076 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16077 __builtin_expect.
16078
8d4f46c6
UD
160792011-10-20 Ulrich Drepper <drepper@gmail.com>
16080
ed72b654
UD
16081 * sysdeps/i386/configure.in: Test for -mfma4 option.
16082 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16083 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16084 COMMON_CPUID_INDEX_80000001.
16085 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16086 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16087 use it if FMA3 is not supported.
16088 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16089
8d4f46c6
UD
16090 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16091 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16092
d45c60c2
AS
160932011-10-20 Andreas Schwab <schwab@redhat.com>
16094
16095 [BZ #12892]
16096 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16097 it would create a cycle with a link time dependency.
16098
d9a4d2ab
UD
160992011-10-19 Ulrich Drepper <drepper@gmail.com>
16100
855d1560
UD
16101 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16102 instruction.
16103 * string/Makefile (strop-tests): Add rawmemchr.
16104 * string/test-rawmemchr.c: New file.
16105
d9a4d2ab
UD
16106 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16107 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16108 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16109 when compiling str{,n}casecmp and when AVX is available. Hook up
16110 new optimized code in initializers.
16111
8f3b1ffe
AS
161122011-10-19 Andreas Schwab <schwab@redhat.com>
16113
16114 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16115 __feraiseexcept instead of feraiseexcept.
16116
d38f1dba
UD
161172011-10-18 Ulrich Drepper <drepper@gmail.com>
16118
d9a8d0ab
UD
16119 * math/math_private.h: Define defaults for libc_fetestexcept and
16120 libc_feupdateenv.
16121 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16122 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16123 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16124 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16125 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16126 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16127 libc_fetestexcept and libc_feupdateenv.
16128
4855e3dd
UD
16129 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16130 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16131 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16132 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16133 libc_feholdexcept_setround.
16134
581d30e3
UD
16135 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16136 Add s_nearbyint-c and s_nearbyintf-c.
16137 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16138 nearbyintf inlines.
16139 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16140 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16141 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16142 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16143
d38f1dba
UD
16144 * math/math_private.h: Define defaults for libc_fegetround,
16145 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16146 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16147 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16148 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16149 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16150 standard functions.
16151 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16152 Remove comments and hacks for old compiler versions.
16153 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16154 libc_fegetround, libc_fesetround, libc_feholdexcept, and
16155 libc_feholdexceptl.
16156
caa6c9d8
AS
161572011-10-18 Andreas Schwab <schwab@redhat.com>
16158
16159 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
16160 (__feraiseexcept_renamed): Add __NTH.
16161 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
16162 namespace violations.
16163
97c066e6
UD
161642011-10-17 Ulrich Drepper <drepper@gmail.com>
16165
99ce7b04
UD
16166 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16167
1004d182
UD
16168 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16169
228a984d
UD
16170 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16171 recently added interfaces.
16172 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16173
c8553a6a
UD
16174 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16175 about macro parameter expansion.
16176
ed22dcf6
UD
16177 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16178 __NO_MATH_INLINES is defined. Cleanups.
16179
16180 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16181 and __floorf is target has SSE4.1.
16182 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16183 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16184 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16185 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16186
b171c137
UD
16187 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16188 name.
16189 (floorf): Likewise.
16190
97c066e6
UD
16191 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16192
629f62ef
AS
161932011-10-17 Andreas Schwab <schwab@redhat.com>
16194
49a43d80
AS
16195 * misc/sys/cdefs.h: Fix last change.
16196
629f62ef
AS
16197 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16198 database lookup.
16199
e453f6cd
UD
162002011-10-16 Ulrich Drepper <drepper@gmail.com>
16201
aa78043a
UD
16202 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16203
ad0f5cad
UD
16204 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16205 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16206 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16207 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16208 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16209 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16210 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16211 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16212 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16213 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
16214 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
16215 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
16216 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
16217 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
16218 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
16219 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
16220 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
16221 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
16222 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
16223 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
16224 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
16225 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
16226
16227 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
16228 ceil, ceilf, floor, floorf.
16229
16230 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
16231 Perform IRELATIVE relocations last.
16232
e453f6cd
UD
16233 * elf/do-rel.h: Add another parameter nrelative, replacing the
16234 local variable with the same name. Change name of the function
16235 to end in Rel or Rela (uppercase).
16236 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
16237 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
16238 elf_dynamic_do_##reloc function.
16239
fd5bdc09
UD
162402011-10-15 Ulrich Drepper <drepper@gmail.com>
16241
79b195b5
UD
16242 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
16243 is sufficient, at least on modern CPUs.
16244
d4a28569
UD
16245 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
16246
b61099b5
UD
16247 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
16248 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
16249
bcf01e6d
UD
16250 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
16251 __expl_finite.
16252 * math/bits/math-finite.h: Add entries for exp.
16253 * math/e_expl.c: Add __*_finite alias.
16254 * sysdeps/i386/fpu/e_exp.S: Likewise.
16255 * sysdeps/i386/fpu/e_expf.S: Likewise.
16256 * sysdeps/i386/fpu/e_expl.c: Likewise.
16257 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16258 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16259 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16260 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16261 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
16262 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16263 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16264
ba1a0d59
UD
16265 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
16266 is sufficient, at least on modern CPUs.
16267
fd5bdc09
UD
16268 * ctype/ctype-info.c (__ctype_init): Define.
16269 * include/ctype.h (__ctype_init): Declare.
16270 (__ctype_b_loc): The variable is always initialized.
16271 (__ctype_toupper_loc): Likewise.
16272 (__ctype_tolower_loc): Likewise.
16273 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
16274 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
16275
7872cfb0
AS
162762011-10-15 Andreas Schwab <schwab@linux-m68k.org>
16277
b468825a
AS
16278 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
16279
7872cfb0
AS
16280 * configure.in: Also look in $cxxmachine/include for C++ system
16281 headers.
16282
be13f7bf
LD
162832011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16284
16285 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
16286 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
16287 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
16288 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
16289 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
16290 (USE_AS_WMEMCMP): New macro.
16291 Fixing indents.
16292 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
16293 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
16294 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
16295 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
16296 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16297 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
16298 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
16299 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
16300 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
16301 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
16302 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
16303 (USE_AS_WMEMCMP): New macro.
16304 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
16305 * sysdeps/string/test-memcmp.c: Update.
16306 Fix simple_wmemcmp.
16307 Add new tests.
16308 * wcsmbs/wmemcmp.c: Update.
16309 (WMEMCMP): New macro.
16310 Fix overflow bug.
16311
556a2007
AJ
163122011-10-12 Andreas Jaeger <aj@suse.de>
16313
16314 [BZ #13268]
16315 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
16316
538faaa7
UD
163172011-10-15 Ulrich Drepper <drepper@gmail.com>
16318
ab6737ff
UD
16319 * libio/iofwide.c (do_length): Avoid warning.
16320
538faaa7
UD
16321 * ctype/ctype.h (__isctype_f): Add missing __THROW.
16322
396a21b1
UD
163232011-10-14 Ulrich Drepper <drepper@gmail.com>
16324
cdf2901f
UD
16325 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
16326
38ad40ce
UD
16327 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
16328 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
16329 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
16330 * sysdeps/i386/i686/fpu/e_log.S: New file.
16331 * sysdeps/i386/i686/fpu/e_logf.S: New file.
16332 * sysdeps/i386/i686/fpu/e_logl.S: New file.
16333
396a21b1
UD
16334 * ctype/ctype.h: Add support for inlined isXXX functions when
16335 compiling C++ code.
16336
6b1f68c9
AS
163372011-10-14 Andreas Schwab <schwab@redhat.com>
16338
349290c0
AS
16339 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16340
6b1f68c9
AS
16341 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
16342
f2282d42
RM
163432011-10-13 Roland McGrath <roland@hack.frob.com>
16344
16345 [BZ #13291]
16346 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
16347
5298ffa8
AS
163482011-10-13 Andreas Schwab <schwab@redhat.com>
16349
714fad23
AS
16350 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
16351 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
16352 feraiseexcept.
16353
81dcc7fb
AS
16354 * sysdeps/x86_64/memrchr.S: Check for zero size.
16355
5298ffa8
AS
16356 * string/stratcliff.c: Add memrchr tests.
16357
951fbcec
LD
163582011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16359
16360 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16361 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
16362 rawmemchr-sse2 rawmemchr-sse2-bsf.
16363 * sysdeps/i386/i686/multiarch/memchr.S: New file.
16364 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
16365 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
16366 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
16367 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
16368 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
16369 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
16370 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
16371 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
16372 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
16373 * string/memrchr.c (MEMRCHR): New macro.
16374
0ac5ae23
UD
163752011-10-12 Ulrich Drepper <drepper@gmail.com>
16376
16377 Add integration with gcc's -ffinite-math-only and optimize wrapper
16378 functions in libm.
16379 * Versions.def: Define GLIBC_2.15 version for libm.
16380 * math/Makefile (headers): Add bits/math-finite.h.
16381 * math/bits/math-finite.h: New file.
16382 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
16383 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
16384 * math/e_acoshl.c: Add __*_finite alias.
16385 * math/e_acosl.c: Likewise.
16386 * math/e_asinl.c: Likewise.
16387 * math/e_atan2l.c: Likewise.
16388 * math/e_atanhl.c: Likewise.
16389 * math/e_coshl.c: Likewise.
16390 * math/e_exp10.c: Likewise.
16391 * math/e_exp10f.c: Likewise.
16392 * math/e_exp10l.c: Likewise.
16393 * math/e_exp2l.c: Likewise.
16394 * math/e_fmodl.c: Likewise.
16395 * math/e_gammal_r.c: Likewise.
16396 * math/e_hypotl.c: Likewise.
16397 * math/e_j0l.c: Likewise.
16398 * math/e_j1l.c: Likewise.
16399 * math/e_jnl.c: Likewise.
16400 * math/e_lgammal_r.c: Likewise.
16401 * math/e_log10l.c: Likewise.
16402 * math/e_log2l.c: Likewise.
16403 * math/e_logl.c: Likewise.
16404 * math/e_powl.c: Likewise.
16405 * math/e_sinhl.c: Likewise.
16406 * math/e_sqrtl.c: Likewise.
16407 * math/e_scalb.c: Completely rewritten and optimized.
16408 * math/e_scalbf.c: Likewise.
16409 * math/e_scalbl.c: Likewise.
16410 * math/w_acos.c: Likewise.
16411 * math/w_acosf.c: Likewise.
16412 * math/w_acosl.c: Likewise.
16413 * math/w_acosh.c: Likewise.
16414 * math/w_acoshf.c: Likewise.
16415 * math/w_acoshl.c: Likewise.
16416 * math/w_asin.c: Likewise.
16417 * math/w_asinf.c: Likewise.
16418 * math/w_asinl.c: Likewise.
16419 * math/w_atan2.c: Likewise.
16420 * math/w_atan2f.c: Likewise.
16421 * math/w_atan2l.c: Likewise.
16422 * math/w_atanh.c: Likewise.
16423 * math/w_atanhf.c: Likewise.
16424 * math/w_atanhl.c: Likewise.
16425 * math/w_exp10.c: Likewise.
16426 * math/w_exp10f.c: Likewise.
16427 * math/w_exp10l.c: Likewise.
16428 * math/w_fmod.c: Likewise.
16429 * math/w_fmodf.c: Likewise.
16430 * math/w_fmodl.c: Likewise.
16431 * math/w_j0.c: Likewise.
16432 * math/w_j0f.c: Likewise.
16433 * math/w_j0l.c: Likewise.
16434 * math/w_j1.c: Likewise.
16435 * math/w_j1f.c: Likewise.
16436 * math/w_j1l.c: Likewise.
16437 * math/w_jn.c: Likewise.
16438 * math/w_jnf.c: Likewise.
16439 * math/w_log.c: Likewise.
16440 * math/w_logf.c: Likewise.
16441 * math/w_logl.c: Likewise.
16442 * math/w_log10.c: Likewise.
16443 * math/w_log10f.c: Likewise.
16444 * math/w_log10l.c: Likewise.
16445 * math/w_log2.c: Likewise.
16446 * math/w_log2f.c: Likewise.
16447 * math/w_log2l.c: Likewise.
16448 * math/w_pow.c: Likewise.
16449 * math/w_powf.c: Likewise.
16450 * math/w_powl.c: Likewise.
16451 * math/w_remainder.c: Likewise.
16452 * math/w_remainderf.c: Likewise.
16453 * math/w_remainderl.c: Likewise.
16454 * math/w_scalb.c: Likewise.
16455 * math/w_scalbf.c: Likewise.
16456 * math/w_scalbl.c: Likewise.
16457 * math/w_sqrt.c: Likewise.
16458 * math/w_sqrtf.c: Likewise.
16459 * math/w_sqrtl.c: Likewise.
16460 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
16461 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
16462 used.
16463 * math/math_private.h: Declare __kernel_standard_f.
16464 * math/w_cosh.c: Remove cruft and optimize a bit.
16465 * math/w_coshf.c: Likewise.
16466 * math/w_coshl.c: Likewise.
16467 * math/w_exp2.c: Likewise.
16468 * math/w_exp2f.c: Likewise.
16469 * math/w_exp2l.c: Likewise.
16470 * math/w_hypot.c: Likewise.
16471 * math/w_hypotf.c: Likewise.
16472 * math/w_hypotl.c: Likewise.
16473 * math/w_lgamma.c: Likewise.
16474 * math/w_lgamma_r.c: Likewise.
16475 * math/w_lgammaf.c: Likewise.
16476 * math/w_lgammaf_r.c: Likewise.
16477 * math/w_lgammal.c: Likewise.
16478 * math/w_lgammal_r.c: Likewise.
16479 * math/w_sinh.c: Likewise.
16480 * math/w_sinhf.c: Likewise.
16481 * math/w_sinhl.c: Likewise.
16482 * math/w_tgamma.c: Likewise.
16483 * math/w_tgammaf.c: Likewise.
16484 * math/w_tgammal.c: Likewise.
16485 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16486 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16487 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
16488 Minor optimizations. Pretty printing. Remove cruft.
16489 * sysdeps/i386/fpu/e_acosf.S: Likewise.
16490 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16491 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16492 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16493 * sysdeps/i386/fpu/e_acosl.c: Likewise.
16494 * sysdeps/i386/fpu/e_asin.S: Likewise.
16495 * sysdeps/i386/fpu/e_asinf.S: Likewise.
16496 * sysdeps/i386/fpu/e_atan2.S: Likewise.
16497 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
16498 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
16499 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16500 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16501 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16502 * sysdeps/i386/fpu/e_exp10.S: Likewise.
16503 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
16504 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
16505 * sysdeps/i386/fpu/e_exp2.S: Likewise.
16506 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
16507 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
16508 * sysdeps/i386/fpu/e_fmod.S: Likewise.
16509 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
16510 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
16511 * sysdeps/i386/fpu/e_hypot.S: Likewise.
16512 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
16513 * sysdeps/i386/fpu/e_log.S: Likewise.
16514 * sysdeps/i386/fpu/e_log10.S: Likewise.
16515 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16516 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16517 * sysdeps/i386/fpu/e_log2.S: Likewise.
16518 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16519 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16520 * sysdeps/i386/fpu/e_logf.S: Likewise.
16521 * sysdeps/i386/fpu/e_logl.S: Likewise.
16522 * sysdeps/i386/fpu/e_pow.S: Likewise.
16523 * sysdeps/i386/fpu/e_powf.S: Likewise.
16524 * sysdeps/i386/fpu/e_powl.S: Likewise.
16525 * sysdeps/i386/fpu/e_remainder.S: Likewise.
16526 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
16527 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
16528 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16529 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16530 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16531 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
16532 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
16533 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
16534 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16535 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16536 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16537 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16538 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16539 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16540 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16541 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16542 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16543 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16544 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16545 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16546 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16547 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16548 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16549 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16550 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16551 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16552 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16553 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16554 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16555 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16556 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16557 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16558 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16559 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16560 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16561 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16562 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16563 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16564 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16565 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16566 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16567 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16568 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16569 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16570 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16571 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16572 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16573 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16574 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16575 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16576 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16577 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16578 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16579 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16580 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16581 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16582 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16583 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16584 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16585 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16586 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16587 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16588 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16589 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16590 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16591 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16592 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16593 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16594 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16595 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16596 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16597 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16598 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16599 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16600 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16601 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16602 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16603 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16604 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16605 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16606 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16607 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16608 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16609 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16610 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16611 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16612 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16613 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16614 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16615 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16616 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16617 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16618 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16619 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16620 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16621 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16622 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16623 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16624 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16625 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16626 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16627 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16628 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16629 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16630 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16631 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16632 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16633 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16634 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
16635 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
16636 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
16637 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
16638 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16639 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16640 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16641 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16642 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
16643 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16644 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
16645 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
16646 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
16647 (__isnanf): Likewise.
16648 (__isinf_ns): Likewise.
16649 (__isinf_nsf): Likewise.
16650 (__finite): Likewise.
16651 (__finitef): Likewise.
16652 (__ieee754_sqrt): Define as macro.
16653 (__ieee754_sqrtf): Define as macro.
16654 (__ieee754_sqrtl): Define as macro.
16655 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
16656 inlined copy.
16657 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
16658 __FINITE_MATH_ONLY__ consistent.
16659 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
16660
12cc2fcd
AS
166612011-10-10 Andreas Schwab <schwab@linux-m68k.org>
16662
a843a204
AS
16663 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
16664 of rawmemchr.
16665
12cc2fcd
AS
16666 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
16667
c853acd5
UD
166682011-10-09 Ulrich Drepper <drepper@gmail.com>
16669
16670 * po/ja.po: Update from translation team.
16671
c658d255
RM
166722011-10-08 Roland McGrath <roland@hack.frob.com>
16673
110946e4
RM
16674 * locale/programs/locarchive.c (prepare_address_space): New function.
16675 (create_archive, enlarge_archive, open_archive): Use it.
16676
50604220
RM
16677 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16678 inside [SHARED], where it is used.
16679
c658d255
RM
16680 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16681
16682 * nss/getent.c (netgroup_keys): Remove unused variable.
16683 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16684
6a621eb7
UD
166852011-10-08 Ulrich Drepper <drepper@gmail.com>
16686
7edb55ce
UD
16687 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16688 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16689 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16690 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16691 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16692 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16693 * math/Makefile (libm-calls): Add s_isinf_ns.
16694 * math/divtc3.c: Use __isinf_nsl instead of isinf.
16695 * math/multc3.c: Likewise.
16696 * math/s_casin.c: Likewise.
16697 * math/s_casinf.c: Likewise.
16698 * math/s_casinl.c: Likewise.
16699 * math/s_ccos.c: Likewise.
16700 * math/s_ccosf.c: Likewise.
16701 * math/s_ccosl.c: Likewise.
16702 * math/s_ctan.c: Likewise.
16703 * math/s_ctanf.c: Likewise.
16704 * math/s_ctanh.c: Likewise.
16705 * math/s_ctanhf.c: Likewise.
16706 * math/s_ctanhl.c: Likewise.
16707 * math/s_ctanl.c: Likewise.
16708 * math/w_fmod.c: Likewise.
16709 * math/w_fmodf.c: Likewise.
16710 * math/w_fmodl.c: Likewise.
16711 * math/w_remainder.c: Likewise.
16712 * math/w_remainderf.c: Likewise.
16713 * math/w_remainderl.c: Likewise.
16714 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16715 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16716 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16717 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16718 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16719 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16720 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16721 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16722
187da0ae
UD
16723 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16724 of the number.
16725 * stdio-common/printf_fphex.c: Likewise.
16726 * stdio-common/printf_size.c: Likewise.
16727
9277c064
UD
16728 * math/e_exp10.c: Include math_private.h using <...> not "...".
16729 * math/e_exp10f.c: Likewise.
16730 * math/e_exp10l.c: Likewise.
16731 * math/e_exp2l.c: Likewise.
16732 * math/e_j0l.c: Likewise.
16733 * math/e_j1l.c: Likewise.
16734 * math/e_jnl.c: Likewise.
16735 * math/e_lgammal_r.c: Likewise.
16736 * math/e_rem_pio2l.c: Likewise.
16737 * math/e_scalb.c: Likewise.
16738 * math/e_scalbf.c: Likewise.
16739 * math/e_scalbl.c: Likewise.
16740 * math/k_cosl.c: Likewise.
16741 * math/k_sinl.c: Likewise.
16742 * math/k_tanl.c: Likewise.
16743 * math/s_cacoshf.c: Likewise.
16744 * math/s_catan.c: Likewise.
16745 * math/s_catanf.c: Likewise.
16746 * math/s_catanh.c: Likewise.
16747 * math/s_catanhf.c: Likewise.
16748 * math/s_catanhl.c: Likewise.
16749 * math/s_catanl.c: Likewise.
16750 * math/s_ccosh.c: Likewise.
16751 * math/s_ccoshf.c: Likewise.
16752 * math/s_ccoshl.c: Likewise.
16753 * math/s_cexp.c: Likewise.
16754 * math/s_cexpf.c: Likewise.
16755 * math/s_cexpl.c: Likewise.
16756 * math/s_clog.c: Likewise.
16757 * math/s_clog10.c: Likewise.
16758 * math/s_clog10f.c: Likewise.
16759 * math/s_clog10l.c: Likewise.
16760 * math/s_clogf.c: Likewise.
16761 * math/s_clogl.c: Likewise.
16762 * math/s_csin.c: Likewise.
16763 * math/s_csinf.c: Likewise.
16764 * math/s_csinh.c: Likewise.
16765 * math/s_csinhf.c: Likewise.
16766 * math/s_csinhl.c: Likewise.
16767 * math/s_csinl.c: Likewise.
16768 * math/s_csqrt.c: Likewise.
16769 * math/s_csqrtf.c: Likewise.
16770 * math/s_csqrtl.c: Likewise.
16771 * math/s_ctan.c: Likewise.
16772 * math/s_ctanf.c: Likewise.
16773 * math/s_ctanh.c: Likewise.
16774 * math/s_ctanhf.c: Likewise.
16775 * math/s_ctanhl.c: Likewise.
16776 * math/s_ctanl.c: Likewise.
16777 * math/s_ldexp.c: Likewise.
16778 * math/s_ldexpf.c: Likewise.
16779 * math/s_ldexpl.c: Likewise.
16780 * math/s_significand.c: Likewise.
16781 * math/s_significandf.c: Likewise.
16782 * math/s_significandl.c: Likewise.
16783 * math/w_acos.c: Likewise.
16784 * math/w_acosf.c: Likewise.
16785 * math/w_acosh.c: Likewise.
16786 * math/w_acoshf.c: Likewise.
16787 * math/w_acoshl.c: Likewise.
16788 * math/w_acosl.c: Likewise.
16789 * math/w_asin.c: Likewise.
16790 * math/w_asinf.c: Likewise.
16791 * math/w_asinl.c: Likewise.
16792 * math/w_atan2.c: Likewise.
16793 * math/w_atan2f.c: Likewise.
16794 * math/w_atan2l.c: Likewise.
16795 * math/w_atanh.c: Likewise.
16796 * math/w_atanhf.c: Likewise.
16797 * math/w_atanhl.c: Likewise.
16798 * math/w_cosh.c: Likewise.
16799 * math/w_coshf.c: Likewise.
16800 * math/w_coshl.c: Likewise.
16801 * math/w_dremf.c: Likewise.
16802 * math/w_exp10.c: Likewise.
16803 * math/w_exp10f.c: Likewise.
16804 * math/w_exp10l.c: Likewise.
16805 * math/w_exp2.c: Likewise.
16806 * math/w_exp2f.c: Likewise.
16807 * math/w_fmod.c: Likewise.
16808 * math/w_fmodf.c: Likewise.
16809 * math/w_fmodl.c: Likewise.
16810 * math/w_hypot.c: Likewise.
16811 * math/w_hypotf.c: Likewise.
16812 * math/w_hypotl.c: Likewise.
16813 * math/w_j0.c: Likewise.
16814 * math/w_j0f.c: Likewise.
16815 * math/w_j0l.c: Likewise.
16816 * math/w_j1.c: Likewise.
16817 * math/w_j1f.c: Likewise.
16818 * math/w_j1l.c: Likewise.
16819 * math/w_jn.c: Likewise.
16820 * math/w_jnf.c: Likewise.
16821 * math/w_jnl.c: Likewise.
16822 * math/w_lgamma.c: Likewise.
16823 * math/w_lgamma_r.c: Likewise.
16824 * math/w_lgammaf.c: Likewise.
16825 * math/w_lgammaf_r.c: Likewise.
16826 * math/w_lgammal.c: Likewise.
16827 * math/w_lgammal_r.c: Likewise.
16828 * math/w_log.c: Likewise.
16829 * math/w_log10.c: Likewise.
16830 * math/w_log10f.c: Likewise.
16831 * math/w_log10l.c: Likewise.
16832 * math/w_log2.c: Likewise.
16833 * math/w_log2f.c: Likewise.
16834 * math/w_log2l.c: Likewise.
16835 * math/w_logf.c: Likewise.
16836 * math/w_logl.c: Likewise.
16837 * math/w_pow.c: Likewise.
16838 * math/w_powf.c: Likewise.
16839 * math/w_powl.c: Likewise.
16840 * math/w_remainder.c: Likewise.
16841 * math/w_remainderf.c: Likewise.
16842 * math/w_remainderl.c: Likewise.
16843 * math/w_scalb.c: Likewise.
16844 * math/w_scalbf.c: Likewise.
16845 * math/w_scalbl.c: Likewise.
16846 * math/w_sinh.c: Likewise.
16847 * math/w_sinhf.c: Likewise.
16848 * math/w_sinhl.c: Likewise.
16849 * math/w_sqrt.c: Likewise.
16850 * math/w_sqrtf.c: Likewise.
16851 * math/w_sqrtl.c: Likewise.
16852 * math/w_tgamma.c: Likewise.
16853 * math/w_tgammaf.c: Likewise.
16854 * math/w_tgammal.c: Likewise.
16855
6a621eb7
UD
16856 * po/ja.po: Update from translation team.
16857
bf582445
AJ
168582011-09-29 Andreas Jaeger <aj@suse.de>
16859
f9efbf3a
AJ
16860 [BZ #13179]
16861 * sunrpc/netname.c (netname2host): Fix logic.
16862
bf582445
AJ
16863 [BZ #6779]
16864 [BZ #6783]
16865 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16866 correctly.
16867 * math/w_remainder.c (__remainder): Likewise.
16868 * math/w_remainderf.c (__remainderf): Likewise.
16869 * math/libm-test.inc (remainder_test): Add test cases.
16870
48693bea
AK
168712011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16872
16873 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16874 sdiv_qrnnd.
16875
42622229
LD
168762011-10-07 Ulrich Drepper <drepper@gmail.com>
16877
16878 * string/test-memcmp.c: Avoid unncessary #defines.
16879 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16880
093ecf92
LD
168812011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16882
16883 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16884 Use new sse2 version for core i3 - i7 as it's faster
16885 than sse42 version.
16886 (bit_Prefer_PMINUB_for_stringop): New.
16887 * sysdeps/x86_64/rawmemchr.S: Update.
16888 Replace with faster SSE2 version.
16889 * sysdeps/x86_64/memrchr.S: New file.
16890 * sysdeps/x86_64/memchr.S: Update.
16891 Replace with faster SSE2 version.
16892
fde56e5c
MP
168932011-09-12 Marek Polacek <mpolacek@redhat.com>
16894
16895 * elf/dl-load.c (lose): Add cast to avoid warning.
16896
21fd49a9
UD
168972011-10-07 Ulrich Drepper <drepper@gmail.com>
16898
5a06e643
UD
16899 * po/ca.po: Update from translation team.
16900
684ae515
UD
16901 * inet/getnetgrent_r.c: Hook up nscd.
16902 * nscd/Makefile (routines): Add nscd_netgroup.
16903 (nscd-modules): Add netgroupcache.
16904 (CFLAGS-netgroupcache.c): Define.
16905 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16906 (cache_search): Add const to second parameter.
16907 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16908 INNETGR.
16909 (dbs): Add netgrdb entry.
16910 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16911 (verify_persistent_db): Handle netgrdb.
16912 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16913 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16914 GETFDNETGR.
16915 (netgroup_response_header): Define.
16916 (innetgroup_response_header): Define.
16917 (datahead): Add netgroup_response_header and innetgroup_response_header
16918 elements.
16919 * nscd/nscd.conf: Add entries for netgroup cache.
16920 * nscd/nscd.h (dbtype): Add netgrdb.
16921 (_PATH_NSCD_NETGROUP_DB): Define.
16922 (netgroup_iov_disabled): Declare.
16923 (xmalloc, xcalloc, xrealloc): Move declarations here.
16924 (cache_search): Adjust prototype.
16925 Add netgroup-related prototypes.
16926 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16927 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16928 (__nscd_innetgr): Declare.
16929 * nscd/selinux.c (perms): Use access_vector_t as element type and
16930 add netgroup-related initializers.
16931 * nscd/netgroupcache.c: New file.
16932 * nscd/nscd_netgroup.c: New file.
16933 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16934 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16935 For four parameters use innetgr.
16936 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16937 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16938 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16939 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16940
21fd49a9
UD
16941 * nscd/connections.c (register_traced_file): Don't register file
16942 for disabled databases.
16943
054c0457
UD
169442011-10-06 Ulrich Drepper <drepper@gmail.com>
16945
32b63198
UD
16946 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16947
054c0457
UD
16948 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16949 from tree and freeing node.
16950
64031225
JO
169512011-09-25 Jiri Olsa <jolsa@redhat.com>
16952
16953 * nss/nsswitch.c (__nss_database_lookup): Handle
16954 nss_parse_service_list out of memory case.
16955
0490345c
JO
169562011-09-15 Jiri Olsa <jolsa@redhat.com>
16957
16958 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16959 out of memory case.
16960
3a62d00d
AS
169612011-10-04 Andreas Schwab <schwab@redhat.com>
16962
16963 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16964 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16965 pass it down.
16966 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16967 elf_machine_rela, elf_machine_lazy_rel.
16968 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16969 (ELF_DYNAMIC_DO_REL): Likewise.
16970 (ELF_DYNAMIC_DO_RELA): Likewise.
16971 (ELF_DYNAMIC_RELOCATE): Likewise.
16972 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16973 to ELF_DYNAMIC_DO_REL.
16974 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16975 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16976 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16977 elf_machine_rela.
16978 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16979 skip_ifunc, don't call ifunc function if non-zero.
16980 (elf_machine_rela): Likewise.
16981 (elf_machine_lazy_rel): Likewise.
16982 (elf_machine_lazy_rela): Likewise.
16983 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16984 (elf_machine_lazy_rel): Likewise.
16985 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16986 Likewise.
16987 (elf_machine_lazy_rel): Likewise.
16988 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16989 Likewise.
16990 (elf_machine_lazy_rel): Likewise.
16991 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16992 (elf_machine_lazy_rel): Likewise.
16993 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16994 (elf_machine_lazy_rel): Likewise.
16995 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16996 (elf_machine_lazy_rel): Likewise.
16997 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16998 (elf_machine_lazy_rel): Likewise.
16999 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17000 (elf_machine_lazy_rel): Likewise.
17001 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17002 (elf_machine_lazy_rel): Likewise.
17003
68577918
UD
170042011-09-28 Ulrich Drepper <drepper@gmail.com>
17005
17006 * nss/nss_files/files-init.c (_nss_files_init): Use static
17007 initialization for all the *_traced_file variables.
17008
68822d74
AS
170092011-09-28 Andreas Schwab <schwab@redhat.com>
17010
17011 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17012
2056100b
RM
170132011-09-27 Roland McGrath <roland@hack.frob.com>
17014
17015 [BZ #13226]
17016 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17017
32c76b63
AS
170182011-09-27 Andreas Schwab <schwab@redhat.com>
17019
17020 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17021 Reread the line before reparsing it.
17022
bf972c9d
AS
170232011-09-26 Andreas Schwab <schwab@redhat.com>
17024
17025 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17026
e057a1b5
JM
170272011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17028 Maxim Kuvyrkov <maxim@codesourcery.com>
17029 Joseph Myers <joseph@codesourcery.com>
17030
17031 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17032 if needed for __stack_chk_guard.
17033
bc7e1c36
RM
170342011-09-19 Roland McGrath <roland@hack.frob.com>
17035
ecb1482f
RM
17036 * sysdeps/posix/spawni.c (script_execute): Always define it.
17037 It will be optimized away if unused.
17038 (maybe_script_execute): New function.
17039 (__spawni): Call it.
17040
bc7e1c36
RM
17041 * Makerules: Don't include tls.make.
17042 (config-tls): Always set to thread.
17043 * tls.make.c: File removed.
17044
1c3b002b
MF
170452011-09-19 Mike Frysinger <vapier@gentoo.org>
17046
17047 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17048 * config.make.in (CPPFLAGS-config): New substituted variable.
17049
2840865d
UD
170502011-09-15 Ulrich Drepper <drepper@gmail.com>
17051
88738eb6
UD
17052 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17053
cbf645a6 17054 [BZ #13192]
2840865d
UD
17055 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17056 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17057
b402e91a
RM
170582011-09-15 Roland McGrath <roland@hack.frob.com>
17059
17060 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17061 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17062 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17063 (CALL_FAIL): Likewise.
17064 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17065 (CALL_FAIL): Macro removed.
17066 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17067
4c1a1f71
UD
170682011-09-15 Ulrich Drepper <drepper@gmail.com>
17069
17070 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17071 for __FINITE_MATH_ONLY__ == 1.
17072
edc121be
AS
170732011-09-15 Andreas Schwab <schwab@redhat.com>
17074
17075 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17076 __ieee754_sqrt instead of sqrt.
17077 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17078 __ieee754_sqrtf instead of sqrtf.
17079 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17080 __floorf instead of floorf.
17081 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17082 __floorf, __truncf instead of floorf, truncf.
17083
cd205654
UD
170842011-09-14 Ulrich Drepper <drepper@gmail.com>
17085
ee4d0315
UD
17086 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17087
cd205654
UD
17088 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17089 __extern_always_inline.
17090 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17091 32-bit.
17092
48b67d71
AS
170932011-09-14 Andreas Schwab <schwab@redhat.com>
17094
17095 * elf/rtld.c (dl_main): Also relocate in dependency order when
17096 doing symbol dependency testing.
17097
1ae12c75
AS
170982011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17099
17100 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17101 Always define `refsym'.
17102
995a80df
AS
171032011-09-13 Andreas Schwab <schwab@redhat.com>
17104
e529793b
AS
17105 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17106 (__FD_ELT): Renamed from __FDELT.
17107 * misc/bits/select2.h (__FD_ELT): Likewise.
17108 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17109 __FD_MASK instead of __FDELT, __FDMASK.
17110 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17111 Likewise.
17112 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17113 Likewise.
17114
52d4fef8
AS
17115 * elf/Makefile (gen-ldd): Fix pattern.
17116
995a80df
AS
17117 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17118 (init_tls): Likewise.
17119
8682f8b0
UD
171202011-09-12 Ulrich Drepper <drepper@gmail.com>
17121
17122 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17123
de82006d
AS
171242011-09-12 Andreas Schwab <schwab@redhat.com>
17125
a7c8e6a1
AS
17126 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17127 `struct cmsghdr *' instead of `void *'.
17128 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17129 Likewise.
17130
0f31fe77
AS
171312011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17132
17133 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17134 if non-absolute.
17135 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17136 ldd_rewrite_script.
0f31fe77 17137
32b4c839
UD
171382011-09-11 Ulrich Drepper <drepper@gmail.com>
17139
83cd1420
UD
17140 * configure.in: Remove --with-tls option.
17141 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17142 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17143 out in case it is missing.
17144 * sysdeps/ia64/elf/configure.in: Likewise.
17145 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17146 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17147 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17148 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17149 * sysdeps/sh/elf/configure.in: Likewise.
17150 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17151 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17152 * sysdeps/x86_64/elf/configure.in: Likewise.
17153 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17154 * sysdeps/mach/hurd/tls.h: Likewise.
17155
633f745d
UD
17156 [BZ #13067]
17157 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17158
f318beb8
UD
17159 [BZ #13090]
17160 * configure.in: Fix use of AC_INIT.
17161
32b4c839
UD
17162 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17163
3ce1f295
UD
171642011-09-10 Ulrich Drepper <drepper@gmail.com>
17165
bb016596
UD
17166 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17167 __set_errno.
8e58439c
UD
17168 * malloc/hooks.c: Likewise.
17169
aebae053 17170 [BZ #11929]
02d46fc4
UD
17171 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
17172 variables statically.
17173 (narenas): Initialize.
17174 (list_lock): Initialize.
bb016596
UD
17175 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
17176 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
17177 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17178 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
17179 Add initializers to main_arena and mp_.
17180 (malloc_state): Remove pagesize member. Change all users to use
17181 GLRO(dl_pagesize).
17182
17183 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17184 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
17185 is always initialized.
17186
22a89187
UD
17187 * malloc/malloc.c: Removed unused configurations and dead code.
17188 * malloc/arena.c: Likewise.
17189 * malloc/hooks.c: Likewise.
02d46fc4 17190 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 17191
d063d164
UD
17192 * include/tls.h: Removed. USE___THREAD must always be defined.
17193 * bits/libc-tsd.h: Don't handle !USE___THREAD.
17194 * elf/dl-libc.c: Likewise.
17195 * elf/dl-tsd.c: Likewise.
17196 * include/errno.h: Likewise.
17197 * include/netdb.h: Likewise.
17198 * include/resolv.h: Likewise.
17199 * inet/herrno-loc.c: Likewise.
17200 * inet/herrno.c: Likewise.
17201 * malloc/arena.c: Likewise.
17202 * malloc/hooks.c: Likewise.
17203 * malloc/malloc.c: Likewise.
17204 * resolv/res-state.c: Likewise.
17205 * resolv/res_libc.c: Likewise.
17206 * sysdeps/i386/dl-machine.h: Likewise.
17207 * sysdeps/ia64/dl-machine.h: Likewise.
17208 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17209 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17210 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17211 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17212 * sysdeps/sh/dl-machine.h: Likewise.
17213 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17214 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17215 * sysdeps/unix/i386/sysdep.S: Likewise.
17216 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17217 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17218 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17219 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17220 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17221 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17222 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17223 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17224 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17225 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17226 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17227 * sysdeps/x86_64/dl-machine.h: Likewise.
17228 * tls.make.c: Likewise.
17229
3ce1f295
UD
17230 * configure.in: Remove --with-__thread option. Make tests for
17231 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
17232 tls_model attribute fail if no support is available. Remove
17233 USE_IN_LIBIO.
17234 * Makeconfig: Adjust for dropped configure option. All features are
17235 now mandatory.
17236 * Makerules: Likewise.
17237 * Versions.def: Likewise.
17238 * argp/argp-fmtstream.c: Likewise.
17239 * argp/argp-fmtstream.h: Likewise.
17240 * argp/argp-help.c: Likewise.
17241 * assert/assert.c: Likewise.
17242 * config.h.in: Likewise.
17243 * config.make.in: Likewise.
17244 * configure: Likewise.
17245 * configure.in: Likewise.
17246 * csu/Versions: Likewise.
17247 * csu/init.c: Likewise.
17248 * elf/tst-audit2.c: Likewise.
17249 * elf/tst-tls10.c: Likewise.
17250 * elf/tst-tls10.h: Likewise.
17251 * elf/tst-tls11.c: Likewise.
17252 * elf/tst-tls12.c: Likewise.
17253 * elf/tst-tls14.c: Likewise.
17254 * elf/tst-tlsmod11.c: Likewise.
17255 * elf/tst-tlsmod12.c: Likewise.
17256 * elf/tst-tlsmod13.c: Likewise.
17257 * elf/tst-tlsmod13a.c: Likewise.
17258 * elf/tst-tlsmod14a.c: Likewise.
17259 * elf/tst-tlsmod15b.c: Likewise.
17260 * elf/tst-tlsmod16a.c: Likewise.
17261 * elf/tst-tlsmod16b.c: Likewise.
17262 * elf/tst-tlsmod7.c: Likewise.
17263 * elf/tst-tlsmod8.c: Likewise.
17264 * elf/tst-tlsmod9.c: Likewise.
17265 * gmon/gmon.c: Likewise.
17266 * grp/fgetgrent_r.c: Likewise.
17267 * grp/putgrent.c: Likewise.
17268 * hurd/fopenport.c: Likewise.
17269 * include/libc-symbols.h: Likewise.
17270 * include/tls.h: Likewise.
17271 * intl/gettextP.h: Likewise.
17272 * intl/loadinfo.h: Likewise.
17273 * locale/global-locale.c: Likewise.
17274 * locale/localeinfo.h: Likewise.
17275 * mach/devstream.c: Likewise.
17276 * malloc/arena.c: Likewise.
17277 * malloc/set-freeres.c: Likewise.
17278 * misc/err.c: Likewise.
17279 * misc/getttyent.c: Likewise.
17280 * misc/mntent_r.c: Likewise.
17281 * posix/getopt.c: Likewise.
17282 * posix/wordexp.c: Likewise.
17283 * pwd/fgetpwent_r.c: Likewise.
17284 * resolv/Versions: Likewise.
17285 * resolv/res_hconf.c: Likewise.
17286 * shadow/fgetspent_r.c: Likewise.
17287 * shadow/putspent.c: Likewise.
17288 * stdio-common/printf_fphex.c: Likewise.
17289 * stdio-common/tmpfile.c: Likewise.
17290 * stdlib/abort.c: Likewise.
17291 * stdlib/fmtmsg.c: Likewise.
17292 * sunrpc/auth_unix.c: Likewise.
17293 * sunrpc/clnt_perr.c: Likewise.
17294 * sunrpc/clnt_tcp.c: Likewise.
17295 * sunrpc/clnt_udp.c: Likewise.
17296 * sunrpc/clnt_unix.c: Likewise.
17297 * sunrpc/openchild.c: Likewise.
17298 * sunrpc/svc_simple.c: Likewise.
17299 * sunrpc/svc_tcp.c: Likewise.
17300 * sunrpc/svc_udp.c: Likewise.
17301 * sunrpc/svc_unix.c: Likewise.
17302 * sunrpc/xdr.c: Likewise.
17303 * sunrpc/xdr_array.c: Likewise.
17304 * sunrpc/xdr_rec.c: Likewise.
17305 * sunrpc/xdr_ref.c: Likewise.
17306 * sunrpc/xdr_stdio.c: Likewise.
17307
1248c1c4
PB
173082011-09-09 Ulrich Drepper <drepper@gmail.com>
17309
17310 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17311
173122011-07-03 Andreas Jaeger <aj@suse.de>
17313
17314 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
17315 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
17316 regenerate with gen-libm-tests.pl.
17317
173182010-05-12 Petr Baudis <pasky@suse.cz>
17319
17320 [BZ #11589]
17321 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
17322 around j0() zero points by switching to j1().
17323 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17324 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17325 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17326 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17327
f22e1074
UD
173282011-09-09 Ulrich Drepper <drepper@gmail.com>
17329
f19009c1
UD
17330 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
17331 instead of 0.
17332 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
17333 instead of 0. .
17334 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17335 Patch in part by Pavel Roskin <proski@gnu.org>.
17336
3f8cc204
UD
17337 [BZ #13138]
17338 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
17339 realloc.
17340 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
17341 Free memory block if necessary.
17342
f22e1074
UD
17343 [BZ #12847]
17344 * libio/genops.c (INTDEF): For string streams the _lock pointer can
17345 be NULL. Don't lock in this case.
17346
0a2349f9
RM
173472011-09-09 Roland McGrath <roland@hack.frob.com>
17348
17349 * elf/elf.h (ELFOSABI_GNU): New macro.
17350 (ELFOSABI_LINUX): Define to that.
17351
f3cdd467
DZ
173522011-07-29 Denis Zaitceff <zaitceff@gmail.com>
17353
17354 * string/strncat.c (strncat): Undef the symbol in case it has been
17355 defined in bits/string.h.
17356
74718d13
UD
173572011-09-09 Ulrich Drepper <drepper@gmail.com>
17358
633e9e0f
UD
17359 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
17360
0a2349f9 17361 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
17362 link map.
17363
f9924780
AJ
173642011-08-17 Andreas Jaeger <aj@suse.de>
17365
17366 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
17367
7f5517aa
PP
173682011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17369 Ian Lance Taylor <iant@google.com>
17370
17371 * math/libm-test.inc (lround_test): New testcase.
17372 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
17373
762011fe
UD
173742011-09-08 Ulrich Drepper <drepper@gmail.com>
17375
92963737
UD
17376 * Makefile: Remove support for automatic cvs check-ins.
17377 * Makerules: Likewise.
17378 * config.make.in: Likewise.
17379 * configure.in: Likewise.
17380 * intl/Makefile: Likewise.
17381 * locale/Makefile: Likewise.
17382 * po/Makefile: Likewise.
17383 * posix/Makefile: Likewise.
17384 * sysdeps/gnu/Makefile: Likewise.
17385 * sysdeps/mach/hurd/Makefile: Likewise.
17386 * sysdeps/sparc/sparc32/Makefile: Likewise.
17387
b0727fd8
JS
17388 [BZ #13118]
17389 * posix/Makefile (bug-regex32-ENV): Define.
17390 Patch by John Stanley <jpsinthemix@verizon.net>.
17391
a0f33f99
UD
17392 * misc/Makefile (headers): Add bits/select2.h.
17393 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
17394 * misc/bits/select2.h: New file.
17395 * include/bits/select2.h: New file.
17396 * debug/Makefile (routines): Add fdelt_chk.
17397 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
17398 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
17399 FD_ISSET.
17400 * debug/fdelt_chk.c: New file.
17401
762011fe
UD
17402 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
17403 * wcsmbs/test-wmemcmp.c: Likewise.
17404 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 17405 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
17406
174072011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17408
17409 * string/Makefile (strop-tests): Add memcmp.
17410 * string/test-wmemcmp.c: New file.
17411 * string/test-memcmp.c: Add wmemcmp support.
17412
7f513ec8
RM
174132011-09-08 Roland McGrath <roland@hack.frob.com>
17414
0442afb4
RM
17415 [BZ #13153]
17416 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
17417 2011-07-19 change.
17418
7f513ec8
RM
17419 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
17420 garbage value in a __mach_port_mod_refs call in the cases of the
17421 task-self and thread-self ports.
17422
a12b2239
ST
174232011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17424
17425 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
17426
610f9ab4
AS
174272011-09-08 Andreas Schwab <schwab@redhat.com>
17428
7f513ec8 17429 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 17430
48882a1a
LD
174312011-09-07 Ulrich Drepper <drepper@gmail.com>
17432
b49865be
UD
17433 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
17434
fdc86bc9
UD
17435 * elf/dl-libc.c (dlerror_run): Pass back error code from
17436 dl_catch_error.
17437
c966526a
UD
17438 [BZ #13123]
17439 * elf/dl-load.c (lose): Free l_origin if it is valid.
17440
48882a1a
LD
17441 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
17442 names.
17443 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17444 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17445 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17446 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17447 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17448 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
17449
77a2a8b4
AZ
174502011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17451
17452 * sysdeps/powerpc/fpu/e_hypot.c: New file.
17453 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
17454 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
17455 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
17456 * sysdeps/powerpc/fpu/k_cosf.c: New file.
17457 * sysdeps/powerpc/fpu/k_sinf.c: New file.
17458 * sysdeps/powerpc/fpu/s_cosf.c: New file.
17459 * sysdeps/powerpc/fpu/s_sinf.c: New file.
17460 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
17461 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
17462
24f579d8
AM
174632011-08-15 Alan Modra <amodra@gmail.com>
17464
17465 [BZ #13092]
17466 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
17467 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
17468 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
17469 ppc_mcount to static-only-routines.
17470 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
17471 __mcount_internal.
17472 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
17473 __mcount_internal with usual JUMPTARGET. Remove useless nop.
17474
3d4837df
UD
174752011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
17476
17477 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
17478 for finite and infinity parameters.
17479
22700377
WS
174802011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17481
17482 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
17483 and add nop instructions for throughput optimization.
17484 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17485
5025581e
WS
174862011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
17487
17488 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
17489 aligned copy for power7 with vector-scalar instructions.
17490 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17491
08a300c9
L
174922011-07-24 H.J. Lu <hongjiu.lu@intel.com>
17493
17494 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
17495 AVX check.
17496
59178ef9
AS
174972011-09-07 Andreas Schwab <schwab@redhat.com>
17498
17499 [BZ #13144]
17500 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
17501 last change.
17502
e38ba7ab
UD
175032011-09-07 Ulrich Drepper <drepper@gmail.com>
17504
17505 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17506 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
17507 syscall wrapper around clock_gettime in __vdso_clock_gettime.
17508 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
17509 clock_gettime.
17510
d53a73ac
UD
175112011-09-06 Ulrich Drepper <drepper@gmail.com>
17512
fc8bffcc
UD
17513 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
17514 Forgot to demangle the pointer.
17515
ceaa0c5d
UD
17516 * sysdeps/i386/sysdep.h: Define atom_text_section.
17517 * sysdeps/x86_64/sysdep.h: Likewise.
17518 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
17519 section with atom_text_section.
17520 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17521 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17522 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17523 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17524 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
17525
a77d3c17
UD
17526 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
17527 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
17528 already be defined. Change to take two parameters and don't assign
17529 result to variable. Adjust all users.
17530 Define INTERNAL_GETTIME if not already defined.
17531 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
17532 call.
17533 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
17534 HAVE_CLOCK_GETTIME_VSYSCALL.
17535 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
17536
d53a73ac
UD
17537 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
17538 gettimeofday vsyscall, just use time.
17539
a8f84144
AS
175402011-09-06 Andreas Schwab <schwab@redhat.com>
17541
17542 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
17543 <errno.h>.
17544
ef606249
UD
175452011-09-06 Ulrich Drepper <drepper@gmail.com>
17546
17547 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
17548 syscall on x86-64.
17549 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
17550 syscall.
17551 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17552 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
17553 syscall if possible.
17554
6585cb60
UD
175552011-09-05 Ulrich Drepper <drepper@gmail.com>
17556
17557 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
17558 e_ident. Don't pass to find_mapsXX.
17559 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
17560
a5f524e4
LD
175612011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17562
17563 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17564 strchr-sse2-no-bsf strrchr-sse2-no-bsf
17565 * sysdeps/x86_64/multiarch/strchr.S: Update.
17566 Check bit_slow_BSF bit.
17567 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17568 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
17569 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
17570
554881ef
UD
175712011-09-05 Ulrich Drepper <drepper@gmail.com>
17572
d96de963
UD
17573 [BZ #13134]
17574 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
17575 before glibc 2.15.
17576 (tryshell): Define.
17577 (__spawni): Change last parameter to be flag. Test
17578 SPAWN_XFLAGS_USE_PATH flag to use path or not.
17579 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
17580 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
17581 * posix/spawni.c: Likewise.
17582 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
17583 * posix/spawnp.c: Likewise. Change normal version to use
17584 SPAWN_XFLAGS_USE_PATH.
17585 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
17586 SPAWN_XFLAGS_TRY_SHELL.
17587
d48e5868
UD
17588 [BZ #13150]
17589 * posix/glob.h: Remove gcc 1.x support.
17590
554881ef
UD
17591 [BZ #13068]
17592 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
17593
693fb948
LD
175942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17595
17596 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17597 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
17598 strrchr-sse2-bsf
17599 * sysdeps/i386/i686/multiarch/strchr.S: New file.
17600 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
17601 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
17602 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
17603 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
17604 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
17605
1b48c537
UD
176062011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17607
49d42c37
UD
17608 * sysdeps/x86_64/wcscmp.S: New file.
17609
1b48c537
UD
17610 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
17611 wcscmp-c wcscmp-sse2
17612 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
17613 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
17614 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
17615 * wcsmbs/wcscmp.c: Allow renaming.
17616
15c95c5d
DM
176172011-09-05 David S. Miller <davem@davemloft.net>
17618
17619 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
17620 stack slot, rather than the struct return pointer slot.
17621 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
17622 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
17623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
17624 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
17625
2f0ad8f3
UD
176262011-09-05 Ulrich Drepper <drepper@gmail.com>
17627
d88ae418
UD
17628 * po/ja.po: Update from translation team.
17629
2f0ad8f3
UD
17630 [BZ #13144]
17631 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
17632 kernel in 64-bit binaries.
17633
5f4318d1
DM
176342011-09-01 David S. Miller <davem@davemloft.net>
17635
17636 * elf/elf.h (HWCAP_SPARC_*): Move to..
17637 * sysdeps/sparc/sysdep.h: this new file and add new values.
17638 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
17639 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
17640 _DL_HWCAP_COUNT to 24.
17641 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17642 entries.
17643 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
17644 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
17645 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
17646 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
17647 instead of magic constants.
17648 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17649
3ba57516
DM
176502011-08-31 David S. Miller <davem@davemloft.net>
17651
17652 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
17653 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
17654 Reimplement to do errno handling inline.
17655 (SYSCALL_ERROR_HANDLER): New macro.
17656 (__SYSCALL_STRING): Do not do errno handling in asm.
17657 (__CLONE_SYSCALL_STRING): Delete.
17658 (__INTERNAL_SYSCALL_STRING): Delete.
17659 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
17660 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
17661 (PSEUDO): Reimplement to do errno handling inline.
17662 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
17663 (SYSCALL_ERROR_HANDLER): New macro.
17664 (__SYSCALL_STRING): Do not do errno handling in asm.
17665 (__CLONE_SYSCALL_STRING): Delete.
17666 (__INTERNAL_SYSCALL_STRING): Delete.
17667 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
17668 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
17669 i386.
17670 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
17671 (inline_syscall*): Add 'err' argument.
17672 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17673 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17674 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17675 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17676
17677 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17678 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17679
2bc17433
AS
176802011-08-30 Andreas Schwab <schwab@redhat.com>
17681
17682 * elf/rtld.c (dl_main): Relocate objects in dependency order.
17683
fbeb5f4d
JO
176842011-08-29 Jiri Olsa <jolsa@redhat.com>
17685
17686 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17687 directive.
17688
ad69cc26
DM
176892011-08-24 David S. Miller <davem@davemloft.net>
17690
17691 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17692
39dd69df
AS
176932011-08-24 Andreas Schwab <schwab@redhat.com>
17694
17695 * elf/Makefile: Add rules to build and run unload8 test.
17696 * elf/unload8.c: New file.
17697 * elf/unload8mod1.c: New file.
17698 * elf/unload8mod1x.c: New file.
17699 * elf/unload8mod2.c: New file.
17700 * elf/unload8mod3.c: New file.
17701
17702 * elf/dl-close.c (_dl_close_worker): Reset private search list if
17703 it wasn't used.
17704
2c0b250a
DM
177052011-08-23 David S. Miller <davem@davemloft.net>
17706
17707 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17708 subtract stack bias.
17709 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17710 %sp not %fp in calculations.
17711 (_JMPBUF_UNWINDS_ADJ): Likewise.
17712
22044b48
DM
17713 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17714 (aio_suspend): Call it to force an exception region around the
17715 AIO_MISC_WAIT() invocation.
17716
2cae4995
AS
177172011-08-23 Andreas Schwab <schwab@redhat.com>
17718
17719 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17720 backslash.
17721
873a772e
AJ
177222011-07-04 Aurelien Jarno <aurelien@aurel32.net>
17723
17724 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17725 protection macro.
17726 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17727 and <dl-machine.h>.
17728 (Elf64_FuncDesc): Remove.
17729
25ad0df1
DM
177302011-08-22 David S. Miller <davem@davemloft.net>
17731
17732 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17733 sigaltstack check, add missing cfi directives.
17734 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17735 missing cfi directives, and sigaltstack handling.
17736
e888bcbe
AS
177372011-08-16 Andreas Schwab <schwab@redhat.com>
17738
17739 [BZ #11724]
17740 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17741 object is seen twice.
17742 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17743
17744 * elf/Makefile (distribute): Add tst-initorder2.c.
17745 (tests): Add tst-initorder2.
17746 (modules-names): Add tst-initorder2a tst-initorder2b
17747 tst-initorder2c tst-initorder2d. Add rules to build them.
17748 ($(objpfx)tst-initorder2.out): New rule.
17749 * elf/tst-initorder2.c: New file.
17750 * elf/tst-initorder2.exp: New file.
17751
87162f46
AS
177522011-08-22 Andreas Schwab <schwab@redhat.com>
17753
70538b7f
AS
17754 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17755
f55ffe58
AS
17756 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17757 dependencies back to end of function.
17758
87162f46
AS
17759 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17760 $(elfobjdir)/ld.so.
17761
91b392a4
UD
177622011-08-21 Ulrich Drepper <drepper@gmail.com>
17763
17764 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17765 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17766 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17767 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17768 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17769 of __vdso_gettimeofday.
17770 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17771 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
17772 attribute_hidden.
17773 (_libc_vdso_platform_setup): Remove initialization of
17774 __vdso_gettimeofday and __vdso_time.
17775
5c43483f
UD
177762011-08-20 Ulrich Drepper <drepper@gmail.com>
17777
775a77e7
UD
17778 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17779 and fgetc_unlocked.
17780 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17781 getc_unlocked.
89f447ed 17782
49c74ba9
UD
17783 * elf/dl-open.c (add_to_global): Report additions to the global scope
17784 for LD_DEBUG=scopes.
17785 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 17786 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 17787
5c43483f
UD
17788 [BZ #13114]
17789 * stdio-common/Makefile (tests): Add bug24.
17790 * stdio-common/bug24.c: New file.
17791
a101b025
AJ
177922011-08-19 Andreas Jaeger <aj@suse.de>
17793
17794 [BZ #13114]
17795 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17796 non-existant file when using close-on-exec mode.
17797
c88f1766
UD
177982011-08-20 Ulrich Drepper <drepper@gmail.com>
17799
0276a718
UD
17800 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17801 the very first instruction.
17802
c88f1766
UD
17803 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17804 the CFI state in the end.
17805 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17806 inclusion of dl-trampoline.h.
17807 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17808
51ccffa0
AS
178092011-08-19 Andreas Schwab <schwab@redhat.com>
17810
94d7165f
AS
17811 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17812 expectations for long double.
17813
51ccffa0
AS
17814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17815 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17816
fd708658 178172011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
17818
17819 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17820 artificual limit depends upon the system page size.
17821
44f0a71e
UD
178222011-08-17 Ulrich Drepper <drepper@gmail.com>
17823
17824 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17825 * resolv/Makefile: Define CFLAGS-libresolv.
17826
8de79a24
AS
178272011-08-17 Andreas Schwab <schwab@redhat.com>
17828
17829 * nss/makedb.c (compute_tables): Make variables used in nested
17830 function static.
17831
27724598
UD
178322011-08-17 Ulrich Drepper <drepper@gmail.com>
17833
c5305d88
UD
17834 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17835 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17836 if buffer was too small.
17837
27724598
UD
17838 * elf/pldd.c (main): Attach to all threads in the process.
17839 Rewrite /proc handling to use *at functions.
17840
076fe015
UD
178412011-08-16 Ulrich Drepper <drepper@gmail.com>
17842
174baab3
UD
17843 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17844 specifies first scope to show.
17845 (dl_open_worker): Update callers. Move printing scope of new
17846 object to before the relocation.
44f0a71e 17847 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
17848 * sysdeps/generic/ldsodefs.h: Update declaration.
17849
076fe015
UD
17850 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17851 string for the scope number.
17852
a60df2c3
UD
178532011-08-14 Ulrich Drepper <drepper@gmail.com>
17854
17855 * nscd/servicescache.c (cache_addserv): Make sure written is always
17856 initialized.
17857
5e4287d1
RM
178582011-08-14 Roland McGrath <roland@hack.frob.com>
17859
85ae0589
RM
17860 * sysdeps/i386/i486/bits/atomic.h
17861 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17862 statement expression, so as to suppress "set but not used" warning.
17863 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17864
69f63097
RM
17865 * string/strncat.c (STRNCAT): Use prototype definition.
17866
675456ef
RM
17867 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17868 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17869 -Iprograms here.
17870 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17871 (localedef-modules): Add localedef.
17872 (locale-modules): Add locale.
17873
5e4287d1
RM
17874 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17875 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17876 to avoid a warning.
17877
9c96ff23
DM
178782011-08-14 David S. Miller <davem@davemloft.net>
17879
17880 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17881 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17882
f9ddf089
UD
178832011-08-13 Ulrich Drepper <drepper@gmail.com>
17884
44f0a71e 17885 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
17886 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17887 * elf/rtld.c (dl_main): Set l_name of vDSO.
17888 Call _dl_show_scope when DL_DEBUG_SCOPES.
17889 (process_dl_debug): Recognize scopes flag and also set it for all.
17890 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17891 Declare _dl_show_scope.
17892
1dc27704
UD
17893 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17894 (do_dlopen): Pass caller_dlopen to dl_open.
17895 (__libc_dlopen_mode): Initialize caller_dlopen.
17896
f9ddf089
UD
17897 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17898 of libc. Make tolower call locale-independent. Optimize a bit by
17899 using isdigit instead of isalnum.
17900 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17901
9ac533d3
UD
179022011-08-12 Ulrich Drepper <drepper@gmail.com>
17903
17904 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17905 was a dependency or dynamically loaded.
17906
89edf2e9
UD
179072011-08-11 Ulrich Drepper <drepper@gmail.com>
17908
8e999d29
UD
17909 * intl/l10nflist.c: Allow architecture-specific pop function.
17910 * sysdeps/x86_64/l10nflist.c: New file.
17911
89edf2e9
UD
17912 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17913 classification.
17914
14d96785
AS
179152011-08-10 Andreas Schwab <schwab@redhat.com>
17916
17917 * include/dirent.h: Add libc_hidden_proto for scandirat and
17918 scandirat64. Don't declare __scandirat64.
17919 * dirent/scandirat.c: Add libc_hidden_def.
17920 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17921 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17922
6761ac04
DM
179232011-08-10 David S. Miller <davem@davemloft.net>
17924
17925 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17926 enum.
17927 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17928 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17929 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17930
c55fbd1e
UD
179312011-08-09 Ulrich Drepper <drepper@gmail.com>
17932
17933 * Versions.def [libc]: Add GLIBC_2.15.
17934 * dirent/Makefile (routines): Add scandirat and scandirat64.
17935 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17936 GLIBC_2.15.
17937 * dirent/dirent.h: Declare scandirat and scandirat64.
17938 * dirent/scandirat.c: New file.
17939 * dirent/scandirat64.c: New file.
17940 * sysdeps/wordsize-64/scandirat.c: New file.
17941 * sysdeps/wordsize-64/scandirat64.c: New file.
17942 * dirent/opendir.c: Define opendirat.
17943 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17944 using scandirat.
17945 * dirent/scandir64.c: Adjust for scandir.c change.
17946 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17947 __scandirat64, and __scandir_cancel_handler.
17948 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17949 additional parameter and use openat instead of open (outside of ld.so).
17950 Add new __opendir as wrapper around __opendirat.
17951 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17952 here without requiring old scandirat implementation.
17953
879165f2
UD
179542011-08-08 Ulrich Drepper <drepper@gmail.com>
17955
17956 * dirent/scandir.c (cancel_handler): Renamed to
17957 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17958 defined. Adjust users.
17959 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17960 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17961
cb7e923b
UD
179622011-08-04 Ulrich Drepper <drepper@gmail.com>
17963
16292edd
UD
17964 * string/test-string.h (IMPL): Use __STRING to expand name and then
17965 stringify it.
17966
cb7e923b
UD
17967 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17968 of cleanups.
17969
cff82933
LD
179702011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17971
17972 * string/Makefile: Update.
17973 (strop-tests): Append strncat.
17974 * string/test-wcscmp.c: New file.
17975 New comprehensive test for wcscmp.
17976 * string/test-strcmp.c: Update.
17977 (WIDE): New define.
17978
9be9bfcc
AS
179792011-07-22 Andreas Schwab <schwab@redhat.com>
17980
17981 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17982 line.
17983
2e96f1c7
AS
179842011-07-26 Andreas Schwab <schwab@redhat.com>
17985
17986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17987 encoding to ACE if AI_IDN.
17988
85188888
JJ
179892011-08-01 Jakub Jelinek <jakub@redhat.com>
17990
17991 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17992 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17993
5fa16e9b
LD
179942011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17995
17996 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17997 Fix overflow bug in strncat.
17998 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17999
18000 * string/test-strncat.c: Update.
18001 Add new tests for checking overflow bugs.
18002
180032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18004
18005 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18006 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18007 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18008 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18009 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18010 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18011 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18012 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18013 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18014
18015 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18016 (USE_AS_STRCAT): Define.
18017 Add strcat and strncat support.
18018 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18019
8c1a459f
AS
180202011-07-25 Andreas Schwab <schwab@redhat.com>
18021
18022 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18023 __n bigger than INT_MAX+1.
18024 (__strncmp_g): Likewise.
18025
bba33c28
UD
180262011-07-23 Ulrich Drepper <drepper@gmail.com>
18027
798be72d
UD
18028 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18029 * libio/stido.h: Likewise.
18030
8accd4dc
UD
18031 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18032 (AF_NFC): Define.
18033 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18034 (AF_NFC): Define.
18035
cbff0d96
UD
18036 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18037 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18038 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18039 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18040 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18041
9191c04a
UD
18042 [BZ #13021]
18043 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18044 installed.
18045
bba33c28
UD
18046 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18047 typo.
18048 (_dl_x86_64_save_sse): Likewise.
18049
90f139dd
UD
180502011-07-22 Ulrich Drepper <drepper@gmail.com>
18051
1aae088a
UD
18052 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18053 OSXSAVE.
18054 (_dl_x86_64_save_sse): Likewise.
18055
8e2045f5
UD
18056 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18057
90f139dd
UD
18058 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18059
1d002f25
AS
180602011-07-21 Andreas Schwab <schwab@redhat.com>
18061
18062 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18063 change.
18064 (_dl_x86_64_save_sse): Use correct AVX check.
18065
21137f89
UD
180662011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18067
18068 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18069 bug in strncpy/strncat.
18070 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18071
a65c0b7a
UD
180722011-07-21 Ulrich Drepper <drepper@gmail.com>
18073
18074 * string/tester.c (test_strcat): Add tests for different alignments
18075 of source and destination.
18076 (test_strncat): Likewise.
18077
6986b98a
UD
180782011-07-20 Ulrich Drepper <drepper@gmail.com>
18079
90bb2039
UD
18080 [BZ #12852]
18081 * posix/glob.c (glob): Check passed in values before using them in
18082 expressions to avoid some overflows.
18083 (glob_in_dir): Likewise.
18084
5644ef54
UD
18085 [BZ #13007]
18086 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18087 check for AVX enablement so that we don't crash with old kernels and
18088 new hardware.
18089 * elf/tst-audit4.c: Add same checks here.
18090 * elf/tst-audit6.c: Likewise.
18091
18092 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 18093
bfc9dc9b
AS
180942011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18095
18096 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18097
702e64bb
UD
180982011-07-20 Ulrich Drepper <drepper@gmail.com>
18099
18100 * po/cs.po: Update from translation team.
18101 * po/bg.po: Likewise.
18102
295e904f
MP
181032011-07-12 Marek Polacek <mpolacek@redhat.com>
18104
18105 * misc/sys/cdefs.h: Add support for const attribute.
18106 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18107 to gnu_dev_{major,minor,makedev} functions.
18108
3ff94596
MP
181092011-07-20 Marek Polacek <mpolacek@redhat.com>
18110
18111 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18112
28b59fca
AS
181132011-07-20 Andreas Schwab <schwab@redhat.com>
18114
18115 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18116 strlen results.
18117
19df733e
AK
181182011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18119
18120 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18121 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18122 register in order to avoid conflicts with the soft frame pointer
18123 being held in r11 when necessary.
18124 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18125 (INTERNAL_VSYSCALL_NCS): Likewise.
18126
c8835729
MP
181272011-07-14 Marek Polacek <mpolacek@redhat.com>
18128
18129 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18130 * elf/dl-fini.c (_dl_fini): Adjust caller.
18131 * elf/dl-close.c (_dl_close_worker): Likewise.
18132 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18133
b902330c
MP
181342011-07-15 Marek Polacek <mpolacek@redhat.com>
18135
8991e135
MP
18136 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18137 "aux_cache->nlibs < 0".
18138
b902330c
MP
18139 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18140 in the reload-count case.
18141
99710781
LD
181422011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18143
18144 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18145 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18146 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18147 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18148 * sysdeps/x86_64/multiarch/strcat.S: New file.
18149 * sysdeps/x86_64/multiarch/strncat.S: New file.
18150 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18151 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18152 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18153 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18154 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18155 (USE_AS_STRCAT): Define.
18156 Add strcat and strncat support.
18157 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18158 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18159 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18160 * string/strncat.c: Update.
18161 (USE_AS_STRNCAT): Define.
18162 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18163 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18164 and i7.
18165 * sysdeps/x86_64/multiarch/init-arch.h
18166 (bit_Prefer_PMINUB_for_stringop): New.
18167 (index_Prefer_PMINUB_for_stringop): Likewise.
18168 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18169 bit_Prefer_PMINUB_for_stringop.
18170
7dc6bd90
UD
181712011-07-19 Ulrich Drepper <drepper@gmail.com>
18172
18173 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18174 buffer64.
18175 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18176 of casting of buffer.
18177 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18178 buffer32 and buffer64.
18179 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18180 writes instead of casting of buffer.
18181 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18182 buffer32.
18183 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18184 casting of buffer.
18185
e0e72284
AS
181862011-07-19 Andreas Schwab <schwab@redhat.com>
18187
18188 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18189
feb1eb0b
UD
181902011-07-19 Ulrich Drepper <drepper@gmail.com>
18191
18192 * nscd/nscd.c (termination_handler): Don't do anything for a database
18193 if it has not yet been initialized.
18194
298711ff
UD
181952011-07-18 Ulrich Drepper <drepper@gmail.com>
18196
18197 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18198
181992011-07-15 Marek Polacek <mpolacek@redhat.com>
18200
18201 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18202
f9d68389
UD
182032011-07-18 Ulrich Drepper <drepper@gmail.com>
18204
18205 * po/nl.po: Update from translation team.
18206 * po/sv.po: Likewise.
18207
db290cf5
RM
182082011-07-16 Roland McGrath <roland@hack.frob.com>
18209
18210 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
18211 now disallowed by GCC.
5c550700 18212
fd5e21c7
RM
18213 * configure.in (use-default-link): Default to yes if a test -shared
18214 link meets our qualifications.
18215 * configure: Regenerated.
18216
5c550700
RM
18217 * config.make.in (output-format): New variable.
18218 * configure.in: Check for ld --print-output-format support.
18219 * configure: Regenerated.
18220 * Makerules ($(common-objpfx)format.lds)
18221 [$(output-format) != unknown]: Just use $(output-format),
18222 instead of the linker-script munging.
18223
9fa2c032
RM
182242011-07-14 Roland McGrath <roland@hack.frob.com>
18225
a6928d51
RM
18226 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
18227 of $(common-objpfx)shlib.lds.
18228 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
18229
661607b3
RM
18230 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
18231 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
18232
9fa2c032
RM
18233 * configure.in (-z relro check): Adjust test code to add a large
18234 writable data section after it.
18235 * configure: Regenerated.
18236
defe9061
RM
182372011-07-11 Roland McGrath <roland@hack.frob.com>
18238
18239 * configure.in (-z relro check): Fix test code to make the variable
18240 truly const.
18241 * configure: Regenerated.
18242
319b9ad4
UD
182432011-07-11 Ulrich Drepper <drepper@gmail.com>
18244
18245 * nscd/nscd.h (struct traced_file): Define.
18246 (struct database_dyn): Remove inotify_descr, reset_res, and filename
18247 elements. Add traced_files.
18248 (inotify_fd): Declare.
18249 (register_traced_file): Declare.
18250 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
18251 (inotify_fd): Export.
18252 (resolv_conf_descr): Remove.
18253 (nscd_init): Move inotify descriptor creation to main.
18254 Don't register files for notification here.
18255 (register_traced_file): New function.
18256 (invalidate_cache): Don't use reset_res to determine whether to call
18257 res_init, go through the list of registered files.
18258 (main_loop_poll): The inotify descriptors are now stored in the
18259 structures for the traced files.
18260 (main_loop_epoll): Likewise
18261 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
18262 to __nss_disable_nscd.
18263 * nscd/cache.c (prune_cache): There is no single inotify descriptor
18264 for a database anymore. Check the records for all the registered
18265 files instead.
18266 * nss/Makefile (libnss_files-routines): Add files-init.
18267 (libnss_db-routines): Add db-init.
18268 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
18269 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
18270 * nss/nss_db/db-init.c: New file.
18271 * nss/nss_files/files-init.c: New file.
18272 * nss/nsswitch.c (nss_load_library): New function. Broken out of
18273 __nss_lookup_function.
18274 (__nss_lookup_function): Call nss_load_library.
18275 (nss_load_all_libraries): New function.
18276 (__nss_disable_nscd): Take parameter with callback function for files
18277 to register. Set is_nscd. Load all the DSOs for the NSS modules
18278 used for the cached services.
18279 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
18280 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
18281 options for features to all the files in nscd.
18282
18283 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
18284
23bee3e8
RM
182852011-07-10 Roland McGrath <roland@hack.frob.com>
18286
18287 * csu/elf-init.c (__libc_csu_init): Comment typo.
18288
46a5b7f0
UD
182892011-07-09 Ulrich Drepper <drepper@gmail.com>
18290
18291 * po/pl.po: Update from translation team.
18292 * po/ja.po: Likewise.
18293 * po/ru.po: Likewise.
18294 * po/ko.po: Likewise.
18295 * po/fr.po: Likewise.
18296
d30cf5bb
RM
182972011-07-09 Roland McGrath <roland@hack.frob.com>
18298
113ddea4
RM
18299 * configure.in (.ctors/.dtors header and trailer check):
18300 Use an empirical test on a built program.
18301 * configure: Regenerated.
18302
574920b4
RM
18303 * configure.in (-z relro check): Use an empirical test on a built DSO.
18304 Detect, but do not require, on ia64.
18305 * configure: Regenerated.
18306
d30cf5bb
RM
18307 * configure.in (READELF): Find it with AC_CHECK_TOOL.
18308 Update tests that use readelf to use $READELF instead.
18309 * configure: Regenerated.
18310
8538fdb3
UD
183112011-07-08 Ulrich Drepper <drepper@gmail.com>
18312
18313 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
18314 if the result is not used.
18315
04d08991
AJ
183162011-07-05 Andreas Jaeger <aj@suse.de>
18317
18318 [BZ#9696]
18319 * stdlib/tst-strtod.c: Add testcase.
18320
de283087
AD
183212011-07-07 Ulrich Drepper <drepper@gmail.com>
18322
4e5f31c8 18323 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 18324 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
18325 The latter has a higher limit. Take additional parameter to pass to
18326 the new function.
18327 (__pathconf): Pass file to __statfs_link_max.
18328 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
18329 __statfs_link_max.
18330 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
18331 __statfs_link_max.
18332
de283087
AD
18333 [BZ #12868]
18334 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
18335 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18336 Handle Lustre.
18337 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
18338 (__statfs_filesize_max): Likewise.
18339 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
18340
c75fa153
AJ
183412011-07-05 Andreas Jaeger <aj@suse.de>
18342
18343 * resolv/res_comp.c (dn_skipname): Remove unused variable.
18344
1a544854
UD
183452011-07-06 Marek Polacek <mpolacek@redhat.com>
18346
18347 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
18348 `status' variable.
18349 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
18350 Likewise.
18351
6f0eec67
UD
183522011-07-04 H.J. Lu <hongjiu.lu@intel.com>
18353
18354 * Makefile (strop-tests): Add strncat.
18355 * string/test-strncat.c: New file.
18356
aae30307
UD
183572011-06-30 Marek Polacek <mpolacek@redhat.com>
18358
18359 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
18360
c0cfb5eb
UD
183612011-06-21 Andreas Jaeger <aj@suse.de>
18362
18363 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
18364 Copy rule from iconvdata/Makefile.
18365
01636b21
UD
183662011-07-06 Ulrich Drepper <drepper@gmail.com>
18367
18368 [BZ #12922]
18369 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
18370 but no long options are defined, just return 'W'.
18371
9895c8bc
UD
183722011-06-22 Marek Polacek <mpolacek@redhat.com>
18373
18374 [BZ #9696]
18375 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
18376
5d4cf042
UD
183772011-07-06 Ulrich Drepper <drepper@gmail.com>
18378
18379 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
18380 netgroups to read.
960e5535 18381 (innetgr): Likewise.
5d4cf042 18382
751eb97e
RM
183832011-07-05 Roland McGrath <roland@hack.frob.com>
18384
18385 * config.make.in (install_root): Default to $(DESTDIR).
18386
f15f1e45
UD
183872011-07-05 Ulrich Drepper <drepper@gmail.com>
18388
18389 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
18390
4e34ac6a
RM
183912011-07-02 Roland McGrath <roland@hack.frob.com>
18392
5e9b6af4
RM
18393 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
18394
84f9ea0f
RM
18395 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
18396 containing directory rather than embedding absolute directory names.
18397
ea5ee9f7
RM
18398 * scripts/check-local-headers.sh: Rewritten using awk.
18399 Match by word, not by line. Print error messages for matches.
18400 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
18401
1b74661a
RM
18402 * Makerules [shlib-lds-flags empty]:
18403 ($(common-objpfx)libc_pic.opts): New target.
18404 ($(common-objpfx)libc_pic.os.clean): New target.
18405 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
18406
18407 * config.make.in (OBJCOPY): New variable.
18408 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
18409 * configure: Regenerated.
18410
f781ef40
RM
18411 * config.make.in (use-default-link): New variable.
18412 * configure.in (use_default_link): Grok --with-default-link to set it.
18413 * configure: Regenerated.
18414 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
18415 (shlib-lds, shlib-lds-flags): Define to empty.
18416
2d4fa81e
RM
18417 * Makerules (shlib-lds): New variable.
18418 (shlib-lds-flags): New variable.
18419 (build-shlib, build-moduile, build-module-asneeded): Use it.
18420 ($(common-objpfx)libc.so): Use $(shlib-lds).
18421 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
18422 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
18423
31fffa6b
RM
18424 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
18425 DT_FLAGS/DT_FLAGS_1 with zero flags.
18426
4e34ac6a
RM
18427 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
18428 linker script munging.
18429
fcfc776b
UD
184302011-07-02 Ulrich Drepper <drepper@gmail.com>
18431
18432 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
18433 as 128-bit value.
18434 * crypt/sha512.c (sha512_process_block): Perform total addition using
18435 128-bit if possible.
18436 (__sha512_finish_ctx): Likewise.
18437 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
18438 as 64-bit value.
18439 * crypt/sha256.c (SWAP64): Define.
18440 (sha256_process_block): Perform total addition using 64-bit if
18441 possible.
18442 (__sha256_finish_ctx): Likewise.
18443
99231d9a
UD
184442011-07-01 Ulrich Drepper <drepper@gmail.com>
18445
18446 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
18447 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18448 * nscd/hstcache.c (cache_addhst): Likewise.
18449 * nscd/grpcache.c (cache_addgr): Likewise.
18450 * nscd/aicache.c (addhstaiX): Likewise
18451 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
18452
445b4a53
TK
184532011-07-01 Thorsten Kukuk <kukuk@suse.de>
18454
18455 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
18456 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18457 * nscd/hstcache.c (cache_addhst): Likewise.
18458 * nscd/grpcache.c (cache_addgr): Likewise.
18459 * nscd/aicache.c (addhstaiX): Likewise
18460
6d4d8e8e
AS
184612011-07-01 Andreas Schwab <schwab@redhat.com>
18462
18463 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
18464 domain only when needed.
18465
89f654c5
AS
184662011-06-30 Andreas Schwab <schwab@redhat.com>
18467
18468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
18469 is always restored.
18470
cf3b23ff
UD
184712011-06-29 Ulrich Drepper <drepper@gmail.com>
18472
18473 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
18474 are re-adding the entry.
18475 * nscd/servicescache.c (cache_addserv): Likewise.
18476
751626f9
AJ
184772011-06-30 Aurelien Jarno <aurelien@aurel32.net>
18478
18479 * sysdeps/generic/dl-irel.h: fix protection against multiple
18480 inclusions.
18481 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
18482
9113ea1f
UD
184832011-06-28 Ulrich Drepper <drepper@gmail.com>
18484
5c0b8d90
UD
18485 [BZ #12935]
18486 * malloc/memusage.sh: Fix quoting in message.
18487 * debug/xtrace.sh: Likewise.
18488
9113ea1f
UD
18489 * configure.in: Remove support for --experimental-malloc option, make
18490 it the default.
18491 * config.make.in: Likewise.
18492 * malloc/Makefile: Likewise.
18493
a4172181
AS
184942011-06-27 Andreas Schwab <schwab@redhat.com>
18495
18496 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
18497 two-byte characters.
18498
78a7eee7
RM
184992011-06-27 Roland McGrath <roland@hack.frob.com>
18500
62bede13
RM
18501 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
18502 AC_CACHE_CHECK invocation.
18503 * configure: Regenerated.
18504
78a7eee7
RM
18505 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
18506
5ce33a62
UD
185072011-06-27 Ulrich Drepper <drepper@gmail.com>
18508
034807a9
UD
18509 [BZ #12350]
18510 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
18511 bit from old_res_options.
18512
4902da17
UD
18513 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
18514
5ce33a62
UD
18515 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
18516 value type for setfct.
18517
c2344f56
L
185182011-06-23 H.J. Lu <hongjiu.lu@intel.com>
18519
18520 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18521 __gettimeofday instead of gettimeofday.
18522
68468076
UD
185232011-06-26 Ulrich Drepper <drepper@gmail.com>
18524
18525 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
18526
acb0d739
L
185272011-06-24 H.J. Lu <hongjiu.lu@intel.com>
18528
18529 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
18530
18531 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
18532 info.
18533
8912479f
L
185342011-06-22 H.J. Lu <hongjiu.lu@intel.com>
18535
18536 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18537 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18538 strcpy-sse2-unaligned strncpy-sse2-unaligned
18539 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
18540 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
18541 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
18542 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
18543 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
18544 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
18545 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
18546 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
18547 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
18548 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
18549 (STRCPY): Support SSE2 and SSSE3 versions.
18550
d5495a11
UD
185512011-06-24 Ulrich Drepper <drepper@gmail.com>
18552
18553 [BZ #12874]
18554 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
18555 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
18556 kernels which artificially limit size of requests.
18557
0b1cbaae
L
185582011-06-22 H.J. Lu <hongjiu.lu@intel.com>
18559
18560 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18561 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18562 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
18563 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
18564 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
18565 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
18566 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
18567 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
18568 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
18569 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
18570 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
18571 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
18572 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
18573 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
18574 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
18575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18576 Enable unaligned load optimization for Intel Core i3, i5 and i7
18577 processors.
18578 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
18579 Define.
18580 (index_Fast_Unaligned_Load): Define.
18581 (HAS_FAST_UNALIGNED_LOAD): Define.
18582
07f494a0
MP
185832011-06-23 Marek Polacek <mpolacek@redhat.com>
18584
18585 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
18586
fa3fc0fe
UD
185872011-06-22 Ulrich Drepper <drepper@gmail.com>
18588
18589 [BZ #12907]
18590 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
18591 until it is clear that the information is realy needed.
18592 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
18593
e12df166
AS
185942011-06-22 Andreas Schwab <schwab@redhat.com>
18595
18596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
18597
852eb34d
UD
185982011-06-22 Ulrich Drepper <drepper@gmail.com>
18599
84e2a551
UD
18600 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18601 /sys/devices/system/cpu/online if it is usable.
18602
852eb34d
UD
18603 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
18604 reading the information from the /proc filesystem to once a second.
18605
6e502e19
UD
186062011-06-21 Andreas Jaeger <aj@suse.de>
18607
18608 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
18609 NULL after inclusion of kernel headers.
18610
75d39ff2
UD
186112011-06-21 Ulrich Drepper <drepper@gmail.com>
18612
51f9aa6a
UD
18613 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
18614 calls to internal_setent.
18615
c0244a9d
UD
18616 [BZ #12885]
18617 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
18618 addresses using gethostbyname4_r ignore IPv4 addresses.
18619
c5e3c2ae
UD
18620 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
18621 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
18622
75d39ff2
UD
18623 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
18624
42675c6f
DM
186252011-06-20 David S. Miller <davem@davemloft.net>
18626
18627 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
18628 inclusions.
18629 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
18630
18631 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
18632 (elf_irel): Use it.
18633 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
18634 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
18635 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
18636 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
18637 * sysdeps/x86_64/dl-irel.h: Likewise.
18638
18639 * elf/dl-runtime.c: Use elf_ifunc_invoke.
18640 * elf/dl-sym.c: Likewise.
18641
57912a71
UD
186422011-06-15 Ulrich Drepper <drepper@gmail.com>
18643
18644 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
18645 need to dereference resplen2.
18646
ee22793d
AS
186472011-06-14 Andreas Schwab <schwab@redhat.com>
18648
18649 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
18650
a9e836b0
UD
186512011-06-15 Ulrich Drepper <drepper@gmail.com>
18652
77fb9117
UD
18653 * Makeconfig: Define vardbdir and inst_vardbdir.
18654 * nss/Makefile: Add rules to install db-Makefile.
18655
40c1b22c
UD
18656 * nss/nss_db/db-XXX.c: Cleanup.
18657
9f2da732
UD
18658 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
18659 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
18660 GLIBC_PRIVATE.
18661 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
18662 * nss/makedb.c: Implement -g option to specify that value strings
18663 are generated and should not be added to table iterated over for
18664 get*ent calls.
18665 * nss/nss_db/db-initgroups.c: New file.
18666
82e9a1f7
UD
18667 * nss/getent.c: Add support for initgroups lookups through getgrouplist
18668 interface.
18669
c41af17e
UD
18670 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
18671 (internal_getgrouplist): Adjust to name change.
18672 Update use_initgroups_entry if this is not the first call.
18673 * nss/databases.def: Add initgroups entry.
18674
a9e836b0
UD
18675 * nss/makedb.c (compute_tables): Check result of multiple hash table
18676 sizes to minimize maximum chain length.
18677
2666d441
UD
186782011-06-14 Ulrich Drepper <drepper@gmail.com>
18679
18680 * Versions.def: Add entry for libnss_db.
18681 * shlib-versions: Likewise.
18682 * nss/Makefile: Add rules to build libnss_db.
18683 * nss/Versions: Add libnss_db information. Organize libnss_files
18684 entries better.
18685 * nss/db-Makefile: Add gshadow support. Change rules for the new
18686 makedb progra. Some minor improvements to generate smaller files.
18687 * nss/nss_db/nss_db.h: Move NSS database header data structures to
18688 here from...
18689 * nss/makedb.c: ...here.
18690 Improve database format to be smaller and require less memory at
18691 runtime.
18692 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
18693 db anymore.
18694 * nss/nss_db/db-netgrp.c: Likewise.
18695 * nss/nss_db/db-open.c: Likewise.
18696 * nss/nss_files/flies-XXX.x: Adjust comments.
18697 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18698 * nss/nss_files/files-grp.c: Likewise.
18699 * nss/nss_files/files-hosts.c: Likewise.
18700 * nss/nss_files/files-network.c: Likewise.
18701 * nss/nss_files/files-proto.c: Likewise.
18702 * nss/nss_files/files-pwd.c: Likewise.
18703 * nss/nss_files/files-rpc.c: Likewise.
18704 * nss/nss_files/files-service.c: Likewise.
18705 * nss/nss_files/files-sgrp.c: Likewise.
18706 * nss/nss_files/files-spwd.c: Likewise.
18707 * nss/nss_db/db-alias.c: Removed.
18708 * nss/nss_db/dummy-db.h: Removed.
18709
9ee76b5a
UD
187102011-06-02 Ulrich Drepper <drepper@gmail.com>
18711
18712 * nss/makedb.c: Rewritten to not use database library.
18713 * nss/Makefile: Update to build new makedb program.
18714
c71ca1f8
AJ
187152011-06-14 Andreas Jaeger <aj@suse.de>
18716
18717 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18718 memset declaration.
18719
3154bfb8
UD
187202011-06-10 Andreas Schwab <schwab@redhat.com>
18721
18722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18723 tmpbuf.
18724
b350afab
RM
187252011-06-10 Roland McGrath <roland@hack.frob.com>
18726
decd4e50
RM
18727 * Makerules (shlib.lds): Fail if the linker script comes out empty.
18728 * elf/Makefile ($(objpfx)ld.so): Likewise.
18729
5615eaf2
RM
18730 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18731 Don't list ld.so twice in dependencies.
18732
18733 * posix/bug-regex31.c: Include <stdlib.h>.
18734
18735 * nscd/hstcache.c (cache_addhst): Remove unused variable.
18736
18737 * nis/nss_compat/compat-spwd.c
18738 (getspent_next_nss_netgr): Remove unused variable.
18739 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18740
18741 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18742 nonmembers" output to use the right array.
18743
18744 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18745
18746 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18747
18748 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18749 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18750 * catgets/gencat.c (read_input_file): Likewise.
18751 * locale/programs/locarchive.c (enlarge_archive): Likewise.
18752
18753 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18754 variable definition inside #if's controlling its use.
18755
18756 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18757
18758 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18759
18760 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18761
18762 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18763 unreachable code.
18764
18765 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18766
b68e08db
RM
18767 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18768 * configure: Regenerated.
18769
b350afab
RM
18770 * Makerules: Revert last change.
18771 * elf/Makefile: Likewise.
18772
28368601
RM
187732011-06-09 Roland McGrath <roland@hack.frob.com>
18774
18775 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18776 * elf/Makefile ($(objpfx)librtld.os): Likewise.
18777 (reloc-link): Likewise.
18778
11988f8f
UD
187792011-06-09 Ulrich Drepper <drepper@gmail.com>
18780
18781 * elf/Makefile: Add rules to build pldd.
18782 * elf/pldd.c: New file.
18783 * elf/pldd-xx.c: New file.
18784
e80fab37
UD
187852011-06-07 Ulrich Drepper <drepper@gmail.com>
18786
18787 * version.h: Update for 2.15 development version.
18788
9b849836
DM
187892011-06-07 David S. Miller <davem@davemloft.net>
18790
18791 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18792 ifuncs.
18793 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18794 elf_machine_lazy_rel): Likewise.
18795 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18796 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18797 elf_machine_lazy_rel): Likewise.
18798 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18799 dl_hwcap via passed in argument.
18800 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18801 Likewise.
18802
5a31b283
AK
188032011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18804
18805 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
18806
069e52f8
RM
188072011-06-06 Roland McGrath <roland@hack.frob.com>
18808
18809 [BZ #12849]
18810 * manual/fdl-1.1.texi: New file, verbatim from:
18811 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18812 * manual/lgpl-2.1.texi: New file, verbatim from:
18813 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18814 * manual/Makefile (licenses): New variable, list those new file names.
18815 (texis): Use it.
18816 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18817
18818 * manual/fdl.texi: File removed.
18819 * manual/lesser.texi: File removed.
18820 * manual/libc.texinfo (Copying, Documentation License):
18821 Use new @include file names, put @appendix directive before @include.
18822
f16846a5
JJ
188232011-06-04 Jakub Jelinek <jakub@redhat.com>
18824
18825 [BZ #12841]
18826 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18827 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18828 (mq_open): Add __NTH.
18829
3d29045b
L
188302011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18831
18832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18833 Assume Intel Core i3/i5/i7 processor if AVX is available.
18834
8c297311
UD
188352011-05-31 Ulrich Drepper <drepper@gmail.com>
18836
18837 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18838 typo.
18839
c8fc0c91
UD
188402011-05-31 Andreas Schwab <schwab@redhat.com>
18841
18842 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18843 memory. Use alloca_account. Fix memory leak when retrying.
18844
5b27a807
UD
188452011-05-31 Ulrich Drepper <drepper@gmail.com>
18846
356f8bc6
UD
18847 * version.h (RELEASE): Bump for 2.14 release.
18848 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18849
5b27a807
UD
18850 * config.make.in (RANLIB): Remove entry.
18851
01f16ab0
UD
188522011-05-30 Ulrich Drepper <drepper@gmail.com>
18853
41fce8bd
UD
18854 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18855 (libc.pot): Work around missing support for .ksh extension in xgettext.
18856
4769ae77
UD
18857 [BZ #12684]
18858 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18859 if both request failed.
18860 (send_dg): In case of server errors clear resplen or *resplen2.
18861
6b1e7d19
UD
18862 [BZ #12454]
18863 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18864 when there are multiple maps.
18865 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18866 (_dl_fini): Remove test here.
18867
01f16ab0
UD
18868 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18869
b1ebd700
UD
188702011-05-29 Ulrich Drepper <drepper@gmail.com>
18871
7ae22829
UD
18872 [BZ #12350]
18873 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18874 bit from old_res_options.
18875 (gaih_inet): Likewise.
18876
553149f6 18877 [BZ #11099]
18a84741 18878 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
18879 as signed.
18880
652ffab1
UD
18881 * resolv/res_init.c (res_setoptions): Make the code more compact.
18882
16985fd0
UD
18883 [BZ #11558]
18884 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18885 set RES_USEVC.
18886
0464f746
UD
18887 [BZ #11634]
18888 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18889
7d17596c
UD
18890 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18891
cf6bbbd7
UD
18892 [BZ #11781]
18893 * malloc/malloc.h: Declare malloc hook variables as volatile.
18894
13f1ab36
UD
18895 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18896 in last patch.
18897
b1ebd700
UD
18898 [BZ #11799]
18899 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 18900 raise in the comment.
80e2212d
UD
18901 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18902 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18903 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 18904
ce67228d
UD
189052011-05-28 Ulrich Drepper <drepper@gmail.com>
18906
8887a920
UD
18907 [BZ #12811]
18908 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18909 grow the buffers more if it already has to be sufficient.
18910 (build_wcs_upper_buffer): Likewise.
18911 * posix/regexec.c (check_matching): Likewise.
18912 (clean_state_log_if_needed): Likewise.
18913 (extend_buffers): Don't enlarge buffers beyond size of the input
18914 buffer.
18915 Patches mostly by Emil Wojak <emil@wojak.eu>.
18916 * posix/bug-regex32.c: New file.
18917 * posix/Makefile (tests): Add bug-regex32.
18918
4f031072
UD
18919 * locale/findlocale.c (_nl_find_locale): Return right away if
18920 _nl_explode_name failed.
18921 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18922
d0478f0c
UD
18923 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18924
de81b246
UD
18925 * debug/xtrace.sh: Unify messages.
18926 * malloc/memusage.sh: Likewise.
18927
c738465a
UD
18928 [BZ #12813]
18929 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18930 time symbol from vDSO. Substitute with vsyscall if not available.
18931 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18932 __vdso_time.
18933
f1f929d7
UD
18934 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18935 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18936 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18937 Add sendmmsg and internal_sendmmsg.
18938 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18939 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18940 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18941
ce67228d
UD
18942 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18943 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18944 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18945
e57420c6
UD
189462011-05-27 Ulrich Drepper <drepper@gmail.com>
18947
a8509ca5
UD
18948 [BZ #12813]
18949 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18950 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18951 available.
18952 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18953 __vdso_getcpu.
18954
e57420c6
UD
18955 [BZ #12814]
18956 * iconvdata/Makefile (tests): Add bug-iconv9.
18957 * iconvdata/bug-iconv9.c: New file.
18958
4d07db15
AS
189592011-05-27 Andreas Schwab <schwab@redhat.com>
18960
18961 [BZ #12814]
18962 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18963
ea486f69
JJ
189642011-05-25 Jakub Jelinek <jakub@redhat.com>
18965
18966 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18967 (struct user_regs_struct): Change intcs field back to cs.
18968
6f038433
UD
189692011-05-25 Ulrich Drepper <drepper@gmail.com>
18970
18971 * po/ja.po: Update from translation team.
18972
67f86a25
UD
189732011-05-23 Ulrich Drepper <drepper@gmail.com>
18974
18975 [BZ #12795]
18976 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18977 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18978
def7fbd6
AS
189792011-05-20 Andreas Schwab <schwab@redhat.com>
18980
18981 * stdlib/longlong.h: Update from GCC.
18982
f50ef8f1
AS
189832011-05-23 Andreas Schwab <schwab@redhat.com>
18984
18985 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18986 parameter name.
18987 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18988 Add parameter name.
18989 (__sysconf): Pass it down.
18990
de7ce8f1
UD
189912011-05-22 Ulrich Drepper <drepper@gmail.com>
18992
f2962a71
UD
18993 [BZ #12671]
18994 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18995 some situations.
18996 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18997 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18998 add in in __libc_use_alloca calls. Adjust callers.
18999 (glob): Use malloc in some situations.
19000
de7ce8f1
UD
19001 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19002 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19003 pltexit.
19004
aec84f53
UD
190052011-05-21 Ulrich Drepper <drepper@gmail.com>
19006
05bb4a68
UD
19007 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19008 and CLOCK_BOOTTIME_ALARM.
19009
7ea72f99
UD
19010 [BZ #12782]
19011 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19012 is returned.
19013
7e4afad5
UD
19014 * string/_strerror.c (__strerror_r): Print negative errors as signed
19015 numbers.
19016
8e211fec
UD
19017 [BZ #12777]
19018 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19019 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19020 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19021
f7d82dc9
UD
19022 * configure.in: Fix typo in redirection and correct removal of test
19023 files in two cases.
19024
cc9e536d
UD
19025 [BZ #12788]
19026 * locale/setlocale.c (new_composite_name): Fix test to check for
19027 identical name of all categories.
19028
aec84f53
UD
19029 [BZ #12792]
19030 * libio/filedoalloc.c (local_isatty): New function.
19031 (_IO_file_doallocate): Use local_isatty.
19032 * stdio-common/perror.c (perror): In case a new stream is used
19033 forward the stream error.
19034 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19035 error flag.
19036
78e64fdc
RT
190372011-05-20 Ulrich Drepper <drepper@gmail.com>
19038
34a9094f
UD
19039 [BZ #11869]
19040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19041 alloca.
19042 * include/alloca.h (extend_alloca_account): Define.
19043
78e64fdc
RT
19044 [BZ #11857]
19045 * posix/regex.h: Fix comments with documentation of user-accessible
19046 fields after compilation and describe correct free'ing of pattern
19047 after re_compile_pattern.
19048 Patch by Reuben Thomas <rrt@sc3d.org>.
19049
457bddfc
RA
190502011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19051
19052 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19053 and -mno-altivec to prevent the compiler from using Altivec and/or
19054 VSX instructions when the corresponding registers are not available.
19055
a4527b51
AS
190562011-05-19 Andreas Schwab <schwab@redhat.com>
19057
19058 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19059
ed690b2f
UD
190602011-05-19 Ulrich Drepper <drepper@gmail.com>
19061
19062 * libio/freopen.c (freopen): Use __dup2, not dup2.
19063 * libio/freopen64.c (freopen64): Likewise.
19064
8db73634
L
190652011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19066
19067 [BZ #12775]
19068 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19069 * math/Makefile (tests): Add test-powl.
19070 (CFLAGS-test-powl.c): Define.
19071 * math/test-powl.c: New file.
19072
0a197a9d
L
190732011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19074
19075 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19076
ee30c380
UD
190772011-05-17 Ulrich Drepper <drepper@gmail.com>
19078
19079 [BZ #11837]
19080 * iconvdata/gb18030.c: Update to GB18020-2005.
19081
6ce75379
UD
190822011-05-16 Ulrich Drepper <drepper@gmail.com>
19083
a4b89fd8
AR
19084 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19085 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19086 Patch by Aharon Robbins <arnold@skeeve.com>.
19087
ea389b12
UD
19088 [BZ #11892]
19089 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19090 on the stack.
19091
68a3f91f
UD
19092 [BZ #11895]
19093 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19094 through underflows.
19095
15cc7dd1
UD
19096 [BZ #12766]
19097 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19098 point to strings before performing equality test for error_one_per_line
19099 mode.
19100
f3799213
UD
19101 [BZ #11697]
19102 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19103
d79a9c94
UD
19104 [BZ #11820]
19105 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19106 (struct user_fpregs_struct): Avoid __uint*_t types.
19107
56e5eb46
UD
19108 [BZ #6420]
19109 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19110 symbol info. Use it instead of calling _dl_addr locally.
19111 (lock_and_info): New function.
19112 (tr_freehook): Call lock_and_info and pass symbol info as additional
19113 parameter to tr_where.
19114 (tr_mallochook): Likewise.
19115 (tr_reallochook): Likewise.
19116 (tr_memalignhook): Likewise.
19117
6ce75379
UD
19118 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19119 used and couldn't be at all thread-safe.
19120
f8a3b5bf
UD
191212011-05-15 Ulrich Drepper <drepper@gmail.com>
19122
94b7cc37
UD
19123 * libio/freopen.c (freopen): Don't close old file descriptor
19124 before the new one is opened. Instead dup the new file descriptor
19125 to the old one after the new stream is created.
19126 * libio/freopen64.c (freopen64): Likewise.
19127 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19128 * libio/fileops.c (_IO_new_file_close_it): Handle new
19129 _IO_FLAGS2_NOCLOSE flag.
19130 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19131 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19132 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19133 _IO_FLAGS2_NOCLOSE flag.
19134 * include/unistd.h: Add hidden_proto for dup3.
19135 Define __have_dup3.
19136 * io/dup3.c: Define hidden symbol.
19137 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19138
bd25564e
UD
19139 [BZ #7101]
19140 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19141 when an incomplete long option is used.
19142 * posix/tst-getopt_long1.c: New file.
19143 * posix/Makefile (tests): Add tst-getopt_long1.
19144
c84cfef4
UD
19145 [BZ #10138]
19146 * scripts/config.guess: Update from autoconf-2.68.
19147 * scripts/config.sub: Likewise.
19148
3b85df27
UD
19149 [BZ #10157]
19150 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19151 tests into ...
19152 (has_cpuclock): ...this. New function.
19153 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19154 macro here based on has_cpuclock code.
19155
15a856b1
UD
19156 [BZ #10149]
19157 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19158 First byte (not low byte) is now always NUL.
19159 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19160
05f399e6
UD
19161 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19162 Use non-cancelable interfaces.
19163
10a52685 19164 [BZ #9809]
94ecc67d
UD
19165 * locale/iso-639.def: Add entry for Sorani.
19166
f8a3b5bf
UD
19167 [BZ #11901]
19168 * include/stdlib.h: Move include protection to the right place.
19169 Define abort_msg_s. Declare __abort_msg with it.
19170 * stdlib/abort.c (__abort_msg): Adjust type.
19171 * assert/assert.c (__assert_fail_base): New function. Majority
19172 of code from __assert_fail. Allocate memory for __abort_msg with
19173 mmap.
19174 (__assert_fail): Now call __assert_fail_base.
19175 * assert/assert-perr.c: Remove bulk of implementation. Use
19176 __assert_fail_base.
19177 * include/assert.hL Declare __assert_fail_base.
19178 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19179 mmap.
19180 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19181
1af4e298
UD
191822011-05-14 Ulrich Drepper <drepper@gmail.com>
19183
f8a3b5bf 19184 [BZ #11952]
d26dfc60
MG
19185 [BZ #12453]
19186 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19187 until all modules are registered in the DTV.
19188 * elf/Makefile: Add rules to build and run tst-tls19.
19189 * elf/tst-tls19.c: New file.
19190 * elf/tst-tls19mod1.c: New file.
19191 * elf/tst-tls19mod2.c: New file.
19192 * elf/tst-tls19mod3.c: New file.
19193 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19194
2fc54d6f
UD
19195 [BZ #12083]
19196 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19197 correctly.
19198
98d76b46
UD
19199 [BZ #12601]
19200 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19201 two-byte sequence errors.
19202 * iconvdata/Makefile (tests): Add bug-iconv8.
19203 * iconvdata/bug-iconv8.c: New file.
19204
da3c19ef
UD
19205 [BZ #12626]
19206 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
19207 buf2 definition.
19208
ca408c15
UD
19209 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
19210
d6f67f7d
UD
19211 [BZ #12432]
19212 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
19213 (dummy_getcfa): New function.
19214 (init): Get _Unwind_GetCFA address, use dummy if not found.
19215 (backtrace_helper): In recursion check, also check whether CFA changes.
19216 (__backtrace): Completely initialize arg.
19217
1af4e298 19218 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
19219 storing incomplete byte sequence in state object. Avoid testing for
19220 guaranteed too small input if we know there is enough data available.
1af4e298 19221
da62f81b
AS
192222011-05-11 Andreas Schwab <schwab@redhat.com>
19223
19224 * Makeconfig (+link-pie): Indent.
19225 * Rules (binaries-pie): Define if $(have-fpie) and
19226 $(build-shared).
19227 (binaries-shared): Also filter out $(binaries-pie).
19228 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
19229 * nscd/Makefile (others-pie): Add nscd.
19230 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
19231 ($(objpfx)nscd): Remove command override.
19232 * login/Makefile (others-pie): Add pt_chown.
19233 ($(objpfx)pt_chown): Remove command override.
19234 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
19235 remove command overrides.
19236
fcabc0f8
UD
192372011-05-13 Ulrich Drepper <drepper@gmail.com>
19238
20030ae6
UD
19239 * libio/tst_putwc.c: Fix error messages.
19240
fcabc0f8
UD
19241 [BZ #12724]
19242 * libio/fileops.c (_IO_new_file_close_it): Always flush when
19243 currently writing and seek to current position when not.
19244 * libio/Makefile (tests): Add bug-fclose1.
19245 * libio/bug-fclose1.c: New file.
19246
320a5dc0
PB
192472011-05-12 Ulrich Drepper <drepper@gmail.com>
19248
19249 [BZ #12511]
19250 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
19251 don't set DF_1_NODELETE here.
19252 (do_lookup_x): When entering new entry test for copy relocation
19253 and if necessary set DF_1_NODELETE flag.
19254 * elf/tst-unique4.cc: New file.
19255 * elf/tst-unique4.h: New file.
19256 * elf/tst-unique4lib.cc: New file.
19257 * elf/Makefile: Add rules to build and run tst-unique4.
19258 Patch by Piotr Bury <pbury@goahead.com>.
19259
22836f52
UD
192602011-05-11 Ulrich Drepper <drepper@gmail.com>
19261
f574184a
UD
19262 [BZ #12052]
19263 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
19264
e1fb097f
UD
19265 [BZ #12625]
19266 * misc/mntent_r.c (addmntent): Flush the stream after the output
19267
22836f52
UD
19268 [BZ #12393]
19269 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
19270 (is_trusted_path_normalize): Skip initial colon. Append slash
19271 to empty buffer. Duplicate is_trusted_path code but allow
19272 constructed patch to be prefix.
19273 (is_dst): Allow $ORIGIN followed by /.
19274 (_dl_dst_substitute): Correct clearing of check_for_trusted.
19275 Correct testing of result of is_trusted_path_normalize
19276 (decompose_rpath): Fix warning.
19277
7b3b0b2a
UD
192782011-05-10 Ulrich Drepper <drepper@gmail.com>
19279
19280 [BZ #11257]
19281 * grp/initgroups.c (internal_getgrouplist): When we found the service
19282 list through the initgroups entry in nsswitch.conf do not always
19283 continue on a successful lookup. Don't always use the
eac80ce2 19284 __nss_group_database value if it is set.
7b3b0b2a
UD
19285 * nss/nsswitch.conf (initgroups): Change action for successful db
19286 lookup to continue for compatibility.
19287
2a81eaa5
UD
192882011-05-09 Ulrich Drepper <drepper@gmail.com>
19289
be97a69e
UD
19290 [BZ #11532]
19291 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
19292 and CP774 modules.
19293 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
19294 and CP774 modules.
19295 * iconvdata/tst-tables.sh: Likewise.
19296 * iconvdata/cp770.c: New file.
19297 * iconvdata/cp771.c: New file.
19298 * iconvdata/cp772.c: New file.
19299 * iconvdata/cp773.c: New file.
19300 * iconvdata/cp774.c: New file.
19301 * iconvdata/testdata/CP770: New file.
19302 * iconvdata/testdata/CP770..UTF8: New file.
19303 * iconvdata/testdata/CP771: New file.
19304 * iconvdata/testdata/CP771..UTF8: New file.
19305 * iconvdata/testdata/CP772: New file.
19306 * iconvdata/testdata/CP772..UTF8: New file.
19307 * iconvdata/testdata/CP773: New file.
19308 * iconvdata/testdata/CP773..UTF8: New file.
19309 * iconvdata/testdata/CP774: New file.
19310 * iconvdata/testdata/CP774..UTF8: New file.
19311
19312 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
19313 END CHARMAP line.
19314 * iconvdata/gen-8bit-gap.sh: Likewise.
19315 * iconvdata/gen-8bit.sh: Likewise.
19316
c1e9e399
UD
19317 * locale/iso-639.def: Add ary entry.
19318
24c55fb3 19319 [BZ #11258]
96b4b1b0
UD
19320 * locale/C-translit.h.in: Add U20A1 transliteration.
19321
bdc2f971
KB
19322 [BZ #12178]
19323 * locale/iso-639.def: Add wae entry.
19324 Patch by Kevin Bortis <bortis@translate-wae.ch>.
19325
2952b117
UD
19326 [BZ #12545]
19327 * locale/programs/localedef.c (construct_output_path): Use ssize_t
19328 for n.
19329
2a81eaa5
UD
19330 [BZ #12711]
19331 * locale/C-translit.h.in: Add entry for U20B9.
19332 Patch by pravin.d.s@gmail.com.
19333
28377d1b
UD
193342011-05-08 Ulrich Drepper <drepper@gmail.com>
19335
7fb90fb8
UD
19336 [BZ #12713]
19337 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
19338 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
19339 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
19340 in rtld. Use *stat64.
7fb90fb8 19341 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 19342 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 19343 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
19344 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
19345 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
19346 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
19347 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
19348 __fstatat64 macros.
7fb90fb8
UD
19349 * include/dirent.h: Add libc_hidden_proto for rewinddir.
19350 * dirent/rewinddir.c: Add libc_hidden_def.
19351 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 19352 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 19353
28377d1b
UD
19354 * include/dirent.h (__alloc_dir): Add flags parameter.
19355 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
19356 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
19357 __alloc_dir.
19358 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
19359 from fdopendir if O_CLOEXEC is already set.
19360
66bdbaa4
AM
193612011-03-15 Alan Modra <amodra@gmail.com>
19362
19363 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
19364 l_tls_firstbyte_offset non-zero. Save padding offset in
19365 l_tls_firstbyte_offset for later use.
19366 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
19367 freeing static tls block.
19368
95721191
JN
193692011-03-05 Jonathan Nieder <jrnieder@gmail.com>
19370
19371 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
19372 where #ifdef was intended. The intent is to prevent ARG_MAX from
19373 being defined by the kernel headers.
19374
f87dfb1f
UD
193752011-05-07 Ulrich Drepper <drepper@gmail.com>
19376
19377 [BZ #12734]
19378 * resolv/resolv.h: Define RES_NOTLDQUERY.
19379 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
19380 no-tld-query and set RES_NOTLDQUERY.
19381 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
19382 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
19383 modern BIND to search name as TLD unless forbidden.
19384
47c3cd7a
UD
193852011-05-07 Petr Baudis <pasky@suse.cz>
19386 Ulrich Drepper <drepper@gmail.com>
19387
19388 [BZ #12393]
19389 * elf/dl-load.c (fillin_rpath): Move trusted path check...
19390 (is_trusted_path): ...to here.
c1e9ea35 19391 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 19392 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 19393 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 19394
8a35c912
PP
193952011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19396
19397 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
19398 __BEGIN/__END_DECLS.
19399
acd41f47
UD
194002011-05-06 Ulrich Drepper <drepper@gmail.com>
19401
19402 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
19403 NSS_STATUS_NOTFOUND if no record was found.
19404
597df647
AS
194052011-05-05 Andreas Schwab <schwab@redhat.com>
19406
19407 * sunrpc/Makefile (headers): Add rpc/netdb.h.
19408 (headers-not-in-tirpc): Remove rpc/netdb.h
19409 * resolv/netdb.h: Revert last change.
19410
b9af1301
PP
194112011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19412
19413 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
19414 circular dependency between libgcc.a and libc.a.
19415
4e34d5f5
AS
194162011-05-05 Andreas Schwab <schwab@redhat.com>
19417
19418 * resolv/netdb.h: Don't include <rpc/netdb.h>.
19419 * nis/Makefile: Don't install rpcsvc/*.
19420 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
19421 instead of <rpc/types.h>.
19422 (MAXHOSTNAMELEN): Define.
19423
00ee369c
AS
194242011-05-03 Andreas Schwab <schwab@redhat.com>
19425
19426 * elf/ldconfig.c (add_dir): Don't crash on empty path.
19427
0b592a30
MB
194282011-04-28 Maciej Babinski <mbabinski@google.com>
19429
19430 [BZ #12714]
19431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
19432 gethostbyname4_r when IPv6 results are possible.
19433
6e04cbbe
UD
194342011-05-02 Ulrich Drepper <drepper@gmail.com>
19435
19436 [BZ #12723]
19437 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
19438 _PC_PIPE_BUF handling.
19439
e4ecafe0
BH
194402011-04-30 Bruno Haible <bruno@clisp.org>
19441
19442 [BZ #12717]
19443 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
19444 * resolv/netdb.h (getnameinfo): Change type of flags parameter
19445 to 'int'.
19446 * inet/getnameinfo.c (getnameinfo): Likewise.
19447
125ee683
UD
194482011-04-29 Ulrich Drepper <drepper@gmail.com>
19449
19450 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
19451 to groups setting in database lookup.
19452 * nss/nsswitch.conf: Add initgroups entry.
19453
b722481a
EB
194542011-04-22 Ulrich Drepper <drepper@gmail.com>
19455
19456 [BZ #12685]
19457 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
19458 mode string.
19459 Patch by Eric Blake <eblake@redhat.com>.
19460
4df46dbd
L
194612011-04-20 H.J. Lu <hongjiu.lu@intel.com>
19462
19463 * sunrpc/Makefile (need-export-routines): Add svc_run.
19464 (routines): Remove svc_run.
19465 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
19466 * sunrpc/clnt_perr.c (clnt_perrno): Export.
19467 * sunrpc/svc_run.c (svc_run): Likewise.
19468 * sunrpc/svc_udp.c (svcudp_create): Likewise.
19469
e84142d2
UD
194702011-04-21 Ulrich Drepper <drepper@gmail.com>
19471
19472 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
19473 problem in reallocation in last patch.
19474
877175d8
UD
194752011-04-20 Ulrich Drepper <drepper@gmail.com>
19476
19477 * sunrpc/Makefile: Move inclusion of Rules.
19478
ab8eed78
UD
194792011-04-19 Ulrich Drepper <drepper@gmail.com>
19480
19481 * nss/nss_files/files-initgroups.c: New file.
19482 * nss/Makefile (libnss_files-routines): Add files-initgroups.
19483 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
19484 _nss_files_initgroups_dyn.
19485
e3d8f584
RS
194862011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
19487
19488 * elf/elf.h (R_ARM_IRELATIVE): Define.
19489
af190f45
UD
194902011-04-19 Ulrich Drepper <drepper@gmail.com>
19491
19492 * po/ru.po: Update from translation team.
19493
53cf59ef
UD
194942011-04-17 Ulrich Drepper <drepper@gmail.com>
19495
19496 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
19497 dependencies.
19498
4c559bcd
MF
194992011-02-06 Mike Frysinger <vapier@gentoo.org>
19500
19501 [BZ #12653]
19502 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
19503 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
19504 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19505 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19506 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19507
4420675c
AS
195082011-03-28 Andreas Schwab <schwab@linux-m68k.org>
19509
19510 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
19511 differing bytes.
19512 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19513 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19514 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19515
75ea32ab
UD
195162011-04-17 Ulrich Drepper <drepper@gmail.com>
19517
19518 [BZ #12420]
19519 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
19520 storing it.
19521 * stdlib/bug-getcontext.c: New file.
19522 * stdlib/Makefile: Add rules to build and run bug-getcontext.
19523
27390476
AK
195242011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19525
19526 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
19527 instructions into .machine "z9-109".
19528 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
19529 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
19530
10442705
AK
195312011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19532
19533 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
19534 between environment variables and auxiliary vector.
19535
7b57bfe5
UD
195362011-04-16 Ulrich Drepper <drepper@gmail.com>
19537
19538 * Makefile: Add rules to build linkobj/libc.so.
19539 * include/libc-symbols.h: Define libc_hidden_nolink.
19540 * include/rpc/auth.h: Mark functions which are to be hidden.
19541 * include/rpc/auth_des.h: Likewise.
19542 * include/rpc/auth_unix.h: Likewise.
19543 * include/rpc/clnt.h: Likewise.
19544 * include/rpc/des_crypt.h: Likewise.
19545 * include/rpc/key_prot.h: Likewise.
19546 * include/rpc/pmap_clnt.h: Likewise.
19547 * include/rpc/pmap_prot.h: Likewise.
19548 * include/rpc/pmap_rmt.h: Likewise.
19549 * include/rpc/rpc_msg.h: Likewise.
19550 * include/rpc/svc.h: Likewise.
19551 * include/rpc/svc_auth.h: Likewise.
19552 * include/rpc/xdr.h: Likewise.
19553 * nis/Makefile: Link all DSOs against linkobj/libc.so.
19554 * nss/Makefile: Likewise.
19555 * sunrpc/Makefile: Don't install headers. Build library with normal
19556 entry points. Don't build rpcinfo. Link RPC tests appropriately.
19557 * sunrpc/auth_des.c: Hide exported symbols by default, export some
19558 for the compat linking library. Remove use of INTDEF/INTUSE.
19559 * sunrpc/auth_none.c: Likewise.
19560 * sunrpc/auth_unix.c: Likewise.
19561 * sunrpc/authdes_prot.c: Likewise.
19562 * sunrpc/authuxprot.c: Likewise.
19563 * sunrpc/clnt_gen.c: Likewise.
19564 * sunrpc/clnt_perr.c: Likewise.
19565 * sunrpc/clnt_raw.c: Likewise.
19566 * sunrpc/clnt_simp.c: Likewise.
19567 * sunrpc/clnt_tcp.c: Likewise.
19568 * sunrpc/clnt_udp.c: Likewise.
19569 * sunrpc/clnt_unix.c: Likewise.
19570 * sunrpc/des_crypt.c: Likewise.
19571 * sunrpc/des_soft.c: Likewise.
19572 * sunrpc/get_myaddr.c: Likewise.
19573 * sunrpc/key_call.c: Likewise.
19574 * sunrpc/key_prot.c: Likewise.
19575 * sunrpc/netname.c: Likewise.
19576 * sunrpc/pm_getmaps.c: Likewise.
19577 * sunrpc/pm_getport.c: Likewise.
19578 * sunrpc/pmap_clnt.c: Likewise.
19579 * sunrpc/pmap_prot.c: Likewise.
19580 * sunrpc/pmap_prot2.c: Likewise.
19581 * sunrpc/pmap_rmt.c: Likewise.
19582 * sunrpc/publickey.c: Likewise.
19583 * sunrpc/rpc_cmsg.c: Likewise.
19584 * sunrpc/rpc_common.c: Likewise.
19585 * sunrpc/rpc_dtable.c: Likewise.
19586 * sunrpc/rpc_prot.c: Likewise.
19587 * sunrpc/rpc_thread.c: Likewise.
19588 * sunrpc/rtime.c: Likewise.
19589 * sunrpc/svc.c: Likewise.
19590 * sunrpc/svc_auth.c: Likewise.
19591 * sunrpc/svc_authux.c: Likewise.
19592 * sunrpc/svc_raw.c: Likewise.
19593 * sunrpc/svc_run.c: Likewise.
19594 * sunrpc/svc_simple.c: Likewise.
19595 * sunrpc/svc_tcp.c: Likewise.
19596 * sunrpc/svc_udp.c: Likewise.
19597 * sunrpc/svc_unix.c: Likewise.
19598 * sunrpc/svcauth_des.c: Likewise.
19599 * sunrpc/xcrypt.c: Likewise.
19600 * sunrpc/xdr.c: Likewise.
19601 * sunrpc/xdr_array.c: Likewise.
19602 * sunrpc/xdr_float.c: Likewise.
19603 * sunrpc/xdr_intXX_t.c: Likewise.
19604 * sunrpc/xdr_mem.c: Likewise.
19605 * sunrpc/xdr_rec.c: Likewise.
19606 * sunrpc/xdr_ref.c: Likewise.
19607 * sunrpc/xdr_sizeof.c: Likewise.
19608 * sunrpc/xdr_stdio.c: Likewise.
19609
e6c61494
UD
196102011-04-10 Ulrich Drepper <drepper@gmail.com>
19611
19612 [BZ #12650]
19613 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
19614 * sysdeps/ia64/dl-tls.h: Likewise.
19615 * sysdeps/powerpc/dl-tls.h: Likewise.
19616 * sysdeps/s390/dl-tls.h: Likewise.
19617 * sysdeps/sh/dl-tls.h: Likewise.
19618 * sysdeps/sparc/dl-tls.h: Likewise.
19619 * sysdeps/x86_64/dl-tls.h: Likewise.
19620 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
19621
34fe483e
AS
196222011-03-14 Andreas Schwab <schwab@redhat.com>
19623
19624 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
19625 rpath element also skip the following colon.
19626 (expand_dynamic_string_token): Add is_path parameter and pass
19627 down to DL_DST_REQUIRED and _dl_dst_substitute.
19628 (decompose_rpath): Call expand_dynamic_string_token with
19629 non-zero is_path. Ignore empty rpaths.
19630 (_dl_map_object_from_fd): Call expand_dynamic_string_token
19631 with zero is_path.
19632
f12a32e6
AS
196332011-04-08 Andreas Schwab <schwab@linux-m68k.org>
19634
19635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19636 Make cancelable.
19637
38a7d692
UD
196382011-04-09 Ulrich Drepper <drepper@gmail.com>
19639
19640 [BZ #12655]
19641 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
19642 Patch by Filipe David Manana <fdmanana@apache.org>.
19643
e451d22b
AS
196442011-04-07 Andreas Schwab <schwab@redhat.com>
19645
19646 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
19647 Maintain aligned stack.
19648 (CHECK_RSP): Remove unused macro.
19649
dedc7c7b
UD
196502011-04-03 Ulrich Drepper <drepper@gmail.com>
19651
19652 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
19653 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
19654
94521213
UD
196552011-04-02 Ulrich Drepper <drepper@gmail.com>
19656
19657 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
19658
8cb700c0 19659 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 19660
0354e355
L
196612011-03-26 H.J. Lu <hongjiu.lu@intel.com>
19662
19663 [BZ #12518]
19664 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
19665 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
19666 * sysdeps/x86_64/memmove.c: New file.
19667 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
19668 (memcpy): Renamed to ...
19669 (__new_memcpy): This.
19670 (memcpy): Provide GLIBC_2_14 memcpy.
19671 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19672 (memcpy): Provide GLIBC_2_2_5 memcpy.
19673
8593482f
UD
196742011-04-01 Ulrich Drepper <drepper@gmail.com>
19675
19676 [BZ #12631]
19677 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19678
81a5726b
AS
196792011-03-30 Andreas Schwab <schwab@redhat.com>
19680
19681 * misc/syncfs.c: New file.
19682 * misc/Makefile (routines): Add syncfs.
19683 * posix/unistd.h: Declare syncfs.
19684 * sysdeps/unix/syscalls.list: Add syncfs.
19685
00e5419f
AS
196862011-04-01 Andreas Schwab <schwab@redhat.com>
19687
19688 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19689 open_by_handle_at.
19690 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19691 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19692 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19693 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19694 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19695 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19696 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19697
748876bf
UD
196982011-04-01 Ulrich Drepper <drepper@gmail.com>
19699
658e451d
UD
19700 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19701 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19702 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19703 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19704 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19706 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19707
748876bf
UD
19708 * io/Makefile: Compile fallocate.c, fallocate64.c, and
19709 sync_file_range.c with -fexceptions.
19710 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19711 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19712 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19713 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19714 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19715 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19716 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
19717 sync_file_range as cancellation point
19718 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
19719 now a wrapper around __call_sync_file_range with cancellation handling.
19720 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19721 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
19722 function name to __call_sync_file_range.
19723 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19724 Add call_sync_file_range.
748876bf 19725
6e63d5e1
AS
197262011-04-01 Andreas Schwab <schwab@redhat.com>
19727
19728 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 19729 bits/timex.h.
6e63d5e1 19730
46998f74
UD
197312011-04-01 Ulrich Drepper <drepper@gmail.com>
19732
4c1423ed
UD
19733 * iconv/iconv.h: Fix typo in comment.
19734 * io/fcntl.h: Likewise.
19735 * libio/stdio.h: Likewise.
19736 * posix/spawn.h: Likewise.
19737 * posix/unistd.h: Likewise.
19738 * stdlib/stdlib.h: Likewise.
19739 * time/time.h: Likewise.
19740 * wcsmbs/wchar.h: Likewise.
19741
158648c0
UD
19742 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19743 open_by_handle): Add.
19744 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19745 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
19746 Augment a few comments.
19747 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19748 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19749 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19750 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19751 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19752 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19753 open_by_handle.
19754
46998f74
UD
19755 * io/fcntl.h (AT_EMPTY_PATH): Define.
19756
83fe108b
UD
197572011-03-30 Ulrich Drepper <drepper@gmail.com>
19758
19759 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19760 * sysdeps/unix/sysv/linux/bits/time.h: New file.
19761 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19762 to...
19763 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
19764 * Versions.def: Add GLIBC_2.14.
19765 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19766 Export.
83fe108b 19767
bb242059
UD
197682011-03-22 Ulrich Drepper <drepper@gmail.com>
19769
19770 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19771 round counter.
19772 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19773
c97a1282
L
197742011-03-20 H.J. Lu <hongjiu.lu@intel.com>
19775
19776 [BZ #12597]
19777 * string/test-strncmp.c (do_page_test): New function.
19778 (check2): Likewise.
19779 (test_main): Call check2.
19780 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19781
2a115601
UD
197822011-03-20 Ulrich Drepper <drepper@gmail.com>
19783
19784 [BZ #12587]
19785 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19786 Handle cache information in CPU leaf 4.
19787 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19788
8126d904
UD
197892011-03-18 Ulrich Drepper <drepper@gmail.com>
19790
042c49c6 19791 [BZ #12583]
8126d904
UD
19792 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19793 character representation.
19794 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19795
ccfe366e
RA
197962011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
19797
19798 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19799 END(__isnan) to END(__isnanf) to match function entry point/label
19800 EALIGN(__isnanf,...).
19801
c6e13027
JJ
198022011-03-10 Jakub Jelinek <jakub@redhat.com>
19803
19804 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19805
33f85a3f
UD
198062011-03-10 Ulrich Drepper <drepper@gmail.com>
19807
028478fa
UD
19808 [BZ #12510]
19809 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19810 copy from the symbol referenced in the relocation to initialize the
19811 used variable.
19812 Patch by Piotr Bury <pbury@goahead.com>.
19813 * elf/Makefile: Add rules to build and tst-unique3.
19814 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19815 * elf/tst-unique3.cc: New file.
19816 * elf/tst-unique3.h: New file.
19817 * elf/tst-unique3lib.cc: New file.
19818 * elf/tst-unique3lib2.cc: New file.
19819
33f85a3f
UD
19820 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19821
03592fc7
MF
198222011-03-10 Mike Frysinger <vapier@gentoo.org>
19823
19824 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19825 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19826 to _start.
03592fc7 19827
6a5ee102
UD
198282011-03-06 Ulrich Drepper <drepper@gmail.com>
19829
19830 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19831 to-be-loaded object along a path to loader is ld.so.
19832
7e4ba49c
HJ
198332011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19834 Ulrich Drepper <drepper@gmail.com>
19835
19836 * sysdeps/x86_64/memset.S: After aligning destination, code
19837 branches to different locations depending on the value of
19838 misalignment, when multiarch is enabled. Fix this.
19839
198402011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19841
19842 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19843 Set _x86_64_preferred_memory_instruction for AMD processsors.
19844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19845 Set bit_Prefer_SSE_for_memop for AMD processors.
19846
13a804de
UD
198472011-03-04 Ulrich Drepper <drepper@gmail.com>
19848
19849 * libio/fmemopen.c (fmemopen): Optimize a bit.
19850
9d25c392
AS
198512011-03-03 Andreas Schwab <schwab@redhat.com>
19852
19853 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19854
a5543c6a
RM
198552011-03-03 Roland McGrath <roland@redhat.com>
19856
19857 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19858
012d35f7
DM
198592011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19860
7e4ba49c 19861 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
19862 __bzero_ultra1 instead of __memset_ultra1.
19863
4bff6e01
AS
198642011-02-23 Andreas Schwab <schwab@redhat.com>
19865 Ulrich Drepper <drepper@gmail.com>
19866
19867 [BZ #12509]
19868 * include/link.h (struct link_map): Add l_orig_initfini.
19869 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19870 returning unsuccessfully.
19871 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19872 close of a file loaded at startup, restore the original l_initfini
19873 list.
19874 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19875 list, store the pointer.
19876 * elf/Makefile ($(objpfx)noload-mem): New rule.
19877 (noload-ENV): Define.
19878 (tests): Add $(objpfx)noload-mem.
19879 * elf/noload.c: Include <memcheck.h>.
19880 (main): Call mtrace. Close all opened handles.
19881
f2092faf
AS
198822011-02-17 Andreas Schwab <schwab@redhat.com>
19883
19884 [BZ #12454]
19885 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19886 dependencies are missing.
19887
6c8a2e88
ST
198882011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19889
f2092faf 19890 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
19891 Hurd needs munmap.
19892 * sysdeps/mach/hurd/ifreq.h: New file.
19893
84a42118
PB
198942011-01-27 Petr Baudis <pasky@suse.cz>
19895 Ulrich Drepper <drepper@gmail.com>
19896
071f805e 19897 [BZ 12445]#
84a42118
PB
19898 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19899 to extend_alloca().
19900 * stdio-common/bug23.c: New file.
19901 * stdio-common/Makefile (tests): Add bug23.
19902
e23fe25b
AS
199032010-09-28 Andreas Schwab <schwab@redhat.com>
19904 Ulrich Drepper <drepper@gmail.com>
19905
19906 [BZ #12489]
19907 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19908 before performing relro protection. At old place add assertion
19909 to make sure nothing changed.
19910
d3f02e10
NS
199112011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19912 Glauber de Oliveira Costa <glommer@gmail.com>
19913
19914 * elf/elf.h: Add new ARM TLS relocs.
19915
d55fd7a5
RA
199162011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19917
19918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19919 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19920 cast from r3.
19921 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19922 'tests' variable.
19923 * sysdeps/wordsize-64/tst-writev.c: New file.
19924
2206397e
RA
199252011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19926
19927 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19928 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19929 insns in _dl_start to prevent a TOC reference before relocs are
19930 resolved.
19931
e9433893
UD
199322011-02-15 Ulrich Drepper <drepper@gmail.com>
19933
19934 [BZ #12469]
19935 * Makeconfig: Remove RANLIB definition.
19936 * Makerules: Don't use RANLIB.
19937 * aclocal.m4: Remove ranlib test.
19938 * configure.in: No need to check for ranlib.
19939 * elf/rtld-Rules: Don't use RANLIB.
19940
f75286c6
ST
199412011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19942
8e31c82d
ST
19943 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19944 protection macro.
19945 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19946 inclusion protection macro.
19947
f75286c6
ST
19948 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19949 SIGRTMIN and SIGRTMAX and print information in that case only when
19950 SIGRTMIN is defined.
19951
c1d0e639
JJ
199522011-02-11 Jakub Jelinek <jakub@redhat.com>
19953
19954 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19955 arginfo fn returning -1.
19956
19957 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19958 and thousands string is zero terminated.
19959
edf9294e
AS
199602011-02-03 Andreas Schwab <schwab@redhat.com>
19961
19962 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19963 sysdeps/unix/sysv/linux/bits/socket.h.
19964
2b7e92df
ST
199652011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19966
edf9294e
AS
19967 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19968 (__CPU_COUNT): Remove old macros.
19969 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19970 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19971 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
19972 (__sched_cpualloc, __sched_cpufree): Add declarations.
19973
a4c7ea7b
UD
199742011-02-05 Ulrich Drepper <drepper@gmail.com>
19975
19976 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19977 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19978 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19979 (readdhstai): Return value of addhstaiX call.
19980 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19981 (addgrbyX): Return value returned by cache_addgr.
19982 (readdgrbyname): Return value returned by addgrbyX.
19983 (readdgrbygid): Likewise.
19984 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19985 (addpwbyX): Return value returned by cache_addpw.
19986 (readdpwbyname): Return value returned by addhstbyX.
19987 (readdpwbyuid): Likewise.
19988 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19989 (addservbyX): Return value returned by cache_addserv.
19990 (readdservbyname): Return value returned by addservbyX:
19991 (readdservbyport): Likewise.
19992 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19993 (addhstbyX): Return value returned by cache_addhst.
19994 (readdhstbyname): Return value returned by addhstbyX.
19995 (readdhstbyaddr): Likewise.
19996 (readdhstbynamev6): Likewise.
19997 (readdhstbyaddrv6): Likewise.
19998 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19999 (readdinitgroups): Return value returned by addinitgroupsX.
20000 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20001 (prune_cache): Keep track of timeout value of re-added entries.
20002 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20003 * nscd/nscd.h: Adjust prototypes of readd* functions.
20004
a0bf67cc
RM
200052011-02-04 Roland McGrath <roland@redhat.com>
20006
20007 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20008 (nis_stats): Likewise.
20009 * nis/nis_modify.c (nis_modify): Likewise.
20010 * nis/nis_remove.c (nis_remove): Likewise.
20011 * nis/nis_add.c (nis_add): Likewise.
20012
20013 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20014
20015 * posix/fnmatch_loop.c: Add some consts.
20016
20017 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20018
435b95eb
L
200192011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20020
20021 [BZ #12460]
20022 * config.make.in (config-cflags-novzeroupper): Define.
20023 * configure.in: Substitute libc_cv_cc_novzeroupper.
20024 * elf/Makefile (AVX-CFLAGS): Define.
20025 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20026 (CFLAGS-tst-auditmod4a.c): Likewise.
20027 (CFLAGS-tst-auditmod4b.c): Likewise.
20028 (CFLAGS-tst-auditmod6b.c): Likewise.
20029 (CFLAGS-tst-auditmod6c.c): Likewise.
20030 (CFLAGS-tst-auditmod7b.c): Likewise.
20031 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20032
8517b15e
UD
200332011-02-02 Ulrich Drepper <drepper@gmail.com>
20034
20035 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20036 function to the callback.
20037 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20038
10a656fe
AS
200392011-02-02 Andreas Schwab <schwab@redhat.com>
20040
20041 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20042 of errno.
20043
968dad0a
UD
200442011-01-19 Ulrich Drepper <drepper@gmail.com>
20045
9f94d2ea 20046 [BZ #11724]
968dad0a
UD
20047 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20048 of constructors.
20049 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20050 of destructors.
20051 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20052
20053 [BZ #11724]
20054 * elf/Makefile: Add rules to build and run new test.
20055 * elf/tst-initorder.c: New file.
20056 * elf/tst-initorder.exp: New file.
20057 * elf/tst-initordera1.c: New file.
20058 * elf/tst-initordera2.c: New file.
20059 * elf/tst-initordera3.c: New file.
20060 * elf/tst-initordera4.c: New file.
20061 * elf/tst-initorderb1.c: New file.
20062 * elf/tst-initorderb2.c: New file.
20063 * elf/tst-order-a1.c: New file.
20064 * elf/tst-order-a2.c: New file.
20065 * elf/tst-order-a3.c: New file.
20066 * elf/tst-order-a4.c: New file.
20067 * elf/tst-order-b1.c: New file.
20068 * elf/tst-order-b2.c: New file.
20069 * elf/tst-order-main.c: New file.
20070 New test case by George Gensure <werkt0@gmail.com>.
20071
86e92359
UD
200722010-10-01 Andreas Schwab <schwab@redhat.com>
20073
20074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20075 decoding ACE if AI_CANONIDN.
20076
5d5732b0
UD
200772011-01-18 Ulrich Drepper <drepper@gmail.com>
20078
20079 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20080
a77e8cbc
UD
200812011-01-17 Ulrich Drepper <drepper@gmail.com>
20082
6392473f
UD
20083 * version.h (RELEASE): Bump for 2.13 release.
20084 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20085
620a0529
UD
20086 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20087
18ba70a5
UD
20088 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20089 MADV_NOHUGEPAGE.
32465c3e
UD
20090 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20091 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20092 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20093 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20094 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20095 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20096
c0dafcf1
UD
20097 * posix/getconf.c: Update copyright year.
20098 * catgets/gencat.c: Likewise.
20099 * csu/version.c: Likewise.
20100 * debug/catchsegv.sh: Likewise.
20101 * debug/xtrace.sh: Likewise.
20102 * elf/ldconfig.c: Likewise.
20103 * elf/ldd.bash.in: Likewise.
20104 * elf/sprof.c (print_version): Likewise.
20105 * iconv/iconv_prog.c: Likewise.
20106 * iconv/iconvconfig.c: Likewise.
20107 * locale/programs/locale.c: Likewise.
20108 * locale/programs/localedef.c: Likewise.
20109 * malloc/memusage.sh: Likewise.
20110 * malloc/mtrace.pl: Likewise.
20111 * nscd/nscd.c (print_version): Likewise.
20112 * nss/getent.c: Likewise.
20113
a77e8cbc
UD
20114 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20115 PF_CAIF, and PF_ALG.
20116 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20117
77e8bddf
AS
201182011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20119
1f20b93a
AS
20120 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20121 (modules-names): Use them.
20122 (ifunc-test-modules, ifunc-pie-tests): Define.
20123 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20124 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20125 (test-extras): Likewise.
20126 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20127 $(compile-command.c).
20128 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20129 (all-built-dso): Define.
20130 (check-textrel.out, check-execstack.out): Depend on it.
20131
77e8bddf
AS
20132 * configure.in: Don't override --enable-multi-arch.
20133
bc425b33
UD
201342011-01-15 Ulrich Drepper <drepper@gmail.com>
20135
20136 [BZ #6812]
20137 * nscd/hstcache.c (tryagain): Define.
20138 (cache_addhst): Return tryagain not notfound for temporary errors.
20139 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20140 failed.
20141
794c3ad3
UD
201422011-01-14 Ulrich Drepper <drepper@gmail.com>
20143
70181fdd
UD
20144 [BZ #10563]
20145 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20146 to make the syscall.
20147 * sysdeps/unix/sysv/linux/setgroups.c: New file.
20148
794c3ad3
UD
20149 [BZ #12378]
20150 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20151 and fall back to matching as normal character if the string ends before
20152 the matching ']' is found. This is what POSIX requires.
20153 * posix/testfnm.c: Adjust test result.
20154 * posix/globtest.sh: Adjust test result. Add new test.
20155 * posix/tst-fnmatch.input: Likewise.
20156 * posix/tst-fnmatch2.c: Add new test.
20157
68dc9497
AS
201582010-12-28 Andreas Schwab <schwab@linux-m68k.org>
20159
20160 * elf/Makefile (check-execstack): Revert last change. Depend on
20161 check-execstack.h.
20162 (check-execstack.h): New target.
20163 (generated): Add check-execstack.h.
20164 * elf/check-execstack.c: Include "check-execstack.h".
20165 (main): Revert last change.
20166 (handle_file): Return zero if GNU_STACK is absent and
20167 DEFAULT_STACK_PERMS doesn't include PF_X.
20168
451f001b
UD
201692011-01-13 Ulrich Drepper <drepper@gmail.com>
20170
cfa28e56
UD
20171 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20172 in child fails because the descriptor is already closed.
8cf8ce17
UD
20173 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20174 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20175 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 20176
1086d70d
UD
20177 [BZ #12397]
20178 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20179 syscall.
20180
451f001b
UD
20181 [BZ #10484]
20182 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20183 temporary buffer used to handle multi lookups locally.
a85b5cb4 20184 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 20185
08769175
UD
201862011-01-12 Ulrich Drepper <drepper@gmail.com>
20187
20188 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20189 loader is ld.so.
20190
5e49c52e
UD
201912011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
20192
20193 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20194 alignment for SSE2.
20195
60522a5f
UD
201962011-01-12 Ulrich Drepper <drepper@gmail.com>
20197
20198 [BZ #12394]
20199 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20200 characters. When rounding increased number of integer digits recompute
20201 number of groups.
20202 * stdio-common/tst-grouping.c: New file.
20203 * stdio-common/Makefile: Add rules to build and run tst-grouping.
20204
f257bbd7
UD
202052011-01-09 Ulrich Drepper <drepper@gmail.com>
20206
20207 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
20208 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
20209
20210 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
20211 void.
20212 * bits/select.h: Likewise.
20213
fa9c15cb
UD
202142011-01-08 Ulrich Drepper <drepper@gmail.com>
20215
20216 * po/ja.po: Update from translation team.
20217
16c2895f
DM
202182011-01-04 David S. Miller <davem@sunset.davemloft.net>
20219
20220 [BZ #11155]
20221 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
20222 implementation just like for lxstat, fxstatat, et al.
20223
2543fef2
JM
202242010-12-27 Jim Meyering <meyering@redhat.com>
20225
20226 [BZ #12348]
20227 * posix/regexec.c (build_trtable): Return failure indication upon
20228 calloc failure. Otherwise, re_search_internal could infloop on OOM.
20229
98727dbe
UD
202302010-12-25 Ulrich Drepper <drepper@gmail.com>
20231
5bd6dc5c
UD
20232 [BZ #12201]
20233 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
20234 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
20235 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
20236 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
20237
97983464
UD
20238 [BZ #12207]
20239 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
20240
98727dbe
UD
20241 [BZ #12204]
20242 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
20243 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
20244
4a531bb0
L
202452010-12-15 H.J. Lu <hongjiu.lu@intel.com>
20246
20247 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
20248 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
20249 script has SORT_BY_INIT_PRIORITY.
20250 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
20251 NO_CTORS_DTORS_SECTIONS is defined.
20252 * elf/soinit.c: Likewise.
20253 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
20254 NO_CTORS_DTORS_SECTIONS is defined.
20255 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
20256 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
20257 * sysdeps/sh/init-first.c: Likewise.
20258 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
20259
07eb4b71
UD
202602010-12-24 Ulrich Drepper <drepper@gmail.com>
20261
20262 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
20263 always use the slow path.
20264
30950a5f
RA
202652010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
20266
20267 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
20268 similar rule which adds the sysdep directories to the header search in
20269 order to pick up the correct platform stackinfo.h.
20270 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
20271 perform test if it is, otherwise return successfully without testing.
20272 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
20273 DEFAULT_STACK_PERMS define in stackinfo.h.
20274 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
20275 defined in stackinfo.h.
20276 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
20277 DEFAULT_STACK_PERMS defined in stackinfo.h.
20278 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
20279 * sysdeps/ia64/stackinfo.h: Likewise.
20280 * sysdeps/s390/stackinfo.h: Likewise.
20281 * sysdeps/sh/stackinfo.h: Likewise.
20282 * sysdeps/sparc/stackinfo.h: Likewise.
20283 * sysdeps/x86_64/stackinfo.h: Likewise.
20284 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
20285 PF_X for powerpc64. Retain PF_X for powerpc32.
20286
db753e2c
UD
202872010-12-19 Ulrich Drepper <drepper@gmail.com>
20288
14b697f7
UD
20289 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
20290 accurately.
db753e2c
UD
20291 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
20292 GETDENTS_64BIT_ALIGNED.
20293
28300719
UD
202942010-12-14 Ulrich Drepper <dreper@gmail.com>
20295
14b697f7 20296 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 20297
4f197237
AS
202982010-12-10 Andreas Schwab <schwab@redhat.com>
20299
dbb0472f
AS
20300 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
20301 _GNU_SOURCE.
20302
4f197237
AS
20303 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
20304 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
20305 Remove __restrict.
20306 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
20307 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
20308
fb88ac72
UD
203092010-12-09 Ulrich Drepper <drepper@gmail.com>
20310
20311 [BZ #11655]
20312 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
20313 are initialized.
20314
42acbb92
JJ
203152010-12-09 Jakub Jelinek <jakub@redhat.com>
20316
20317 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
20318
c038d98d
UD
203192010-12-03 Ulrich Drepper <drepper@gmail.com>
20320
20321 * po/it.po: Update from translation team.
20322
3a4a2499
L
203232010-12-01 H.J. Lu <hongjiu.lu@intel.com>
20324
20325 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
20326 unused codes.
20327
1e24cf6e
UD
203282010-11-30 Ulrich Drepper <drepper@gmail.com>
20329
20330 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
20331
a7690819
AS
203322010-11-24 Andreas Schwab <schwab@redhat.com>
20333
20334 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
20335 specially.
20336 (gaih_getanswer_slice): Likewise.
20337
3bf8d1b1
JJ
203382010-10-20 Jakub Jelinek <jakub@redhat.com>
20339
20340 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
20341
6db52fbb
PB
203422010-05-31 Petr Baudis <pasky@suse.cz>
20343
20344 [BZ #11149]
20345 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
20346 silently even in the chroot mode.
20347
eaca7569
UD
203482010-11-22 Ulrich Drepper <drepper@gmail.com>
20349
20350 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
20351 last patch a bit. Pretty printing
20352
3056dcdb
UD
203532010-05-31 Petr Baudis <pasky@suse.cz>
20354
20355 [BZ #10085]
20356 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
20357 initialization of skip_initgroups_dyn.
20358
cf7c9078
UD
203592010-11-19 Ulrich Drepper <drepper@gmail.com>
20360
20361 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
20362 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20363
a1fb5e3e
UD
203642010-11-16 Ulrich Drepper <drepper@gmail.com>
20365
20366 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
20367
3540d66b
AS
203682010-11-11 Andreas Schwab <schwab@redhat.com>
20369
20370 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
20371 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
20372 (tst-fnmatch-ENV): Set MALLOC_TRACE.
20373 ($(objpfx)tst-fnmatch-mem): New rule.
20374 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
20375 * posix/tst-fnmatch.c (main): Call mtrace.
20376
13b69574
L
203772010-11-11 H.J. Lu <hongjiu.lu@intel.com>
20378
20379 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20380 Support Intel processor model 6 and model 0x2c.
20381
da93d214
LM
203822010-11-10 Luis Machado <luisgpm@br.ibm.com>
20383
20384 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
20385 signed comparison.
20386
8ca52c6e
L
203872010-11-09 H.J. Lu <hongjiu.lu@intel.com>
20388
20389 [BZ #12205]
20390 * string/test-strncasecmp.c (check_result): New function.
20391 (do_one_test): Use it.
20392 (check1): New function.
20393 (test_main): Use it.
20394 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
20395 Support strcasecmp and strncasecmp.
20396
69da074d
UD
203972010-11-08 Ulrich Drepper <drepper@gmail.com>
20398
20399 [BZ #12194]
20400 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
20401 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20402
ff02d528
L
204032010-11-07 H.J. Lu <hongjiu.lu@intel.com>
20404
20405 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
20406 IFUNC support.
20407 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20408 memset-x86-64.
20409 * sysdeps/x86_64/multiarch/bzero.S: New file.
20410 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
20411 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
20412 * sysdeps/x86_64/multiarch/memset.S: New file.
20413 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
20414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20415 Set bit_Prefer_SSE_for_memop for Intel processors.
20416 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
20417 Define.
20418 (index_Prefer_SSE_for_memop): Define.
20419 (HAS_PREFER_SSE_FOR_MEMOP): Define.
20420
344d0b54
LM
204212010-11-04 Luis Machado <luisgpm@br.ibm.com>
20422
20423 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
20424 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
20425
c0dde15b
UD
204262010-11-03 H.J. Lu <hongjiu.lu@intel.com>
20427
20428 [BZ #12191]
20429 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20430 (__x86_64_raw_data_cache_size_half): Likewise.
20431 (__x86_64_raw_shared_cache_size): Likewise.
20432 (__x86_64_raw_shared_cache_size_half): Likewise.
20433
20434 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20435 (__x86_64_raw_data_cache_size_half): Likewise.
20436 (__x86_64_raw_shared_cache_size): Likewise.
20437 (__x86_64_raw_shared_cache_size_half): Likewise.
20438 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
20439 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
20440 and __x86_64_raw_shared_cache_size_half. Round
20441 __x86_64_data_cache_size_half, __x86_64_data_cache_size
20442 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
20443 to multiple of 256 bytes.
20444
0e516e0e
MS
204452010-11-03 Ulrich Drepper <drepper@gmail.com>
20446
20447 [BZ #12167]
20448 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
20449 of inacessible symlinks. Verify result of symlink before returning it.
20450 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20451 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
20452
0e012e87
ER
204532010-10-28 Erich Ritz <erichritz@gmail.com>
20454
20455 * math/math.h (isinf): Fix typo in comment.
20456
de0ff7bc
UD
204572010-11-01 Ulrich Drepper <drepper@gmail.com>
20458
20459 * po/da.po: Update from translation team.
20460
fa41c84d
UD
204612010-10-26 Ulrich Drepper <drepper@gmail.com>
20462
20463 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
20464 is added to the list.
20465
f0967738
AK
204662010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20467 Ulrich Drepper <drepper@gmail.com>
20468
20469 * elf/dl-object.c (_dl_new_object): Don't append the new object to
20470 the global list here. Move code to...
20471 (_dl_add_to_namespace_list): ...here. New function.
20472 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
20473 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
20474 * elf/dl-load.c (lose): Don't remove the element from the list.
20475 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
20476 (_dl_map_object): Likewise.
20477
204782010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
20479
20480 [BZ #12159]
20481 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
20482 into all bytes of SSE register.
20483 Patch by Richard Li <richardpku@gmail.com>.
20484
f0967738 204852010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
20486
20487 [BZ #12140]
20488 * malloc/malloc.c (_int_free): Fill correct number of bytes when
20489 perturbing.
20490
d0b9e94f
MB
204912010-10-20 Michael B. Brutman <brutman@us.ibm.com>
20492
20493 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
20494 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
20495 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
20496 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
20498 submachine.
20499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
20500
8e9f92e9
AS
205012010-10-22 Andreas Schwab <schwab@redhat.com>
20502
20503 * include/dlfcn.h (__RTLD_SECURE): Define.
20504 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
20505 mode & __RTLD_SECURE instead.
20506 (open_path): Rename preloaded parameter to secure.
20507 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
20508 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
20509 * elf/dl-deps.c (openaux): Likewise.
20510 * elf/rtld.c (struct map_args): Remove is_preloaded.
20511 (map_doit): Don't use it.
20512 (dl_main): Likewise.
20513 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
20514 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
20515
bc96fbda
AS
205162010-09-09 Andreas Schwab <schwab@redhat.com>
20517
20518 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
20519 (sysd-rules-targets): Remove duplicates.
20520 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
20521 rtld-%.$o dependency.
20522
22cd1c9b
AS
205232010-10-18 Andreas Schwab <schwab@redhat.com>
20524
20525 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
20526 _dl_map_object do it.
20527
18edac48
UD
205282010-10-19 Ulrich Drepper <drepper@gmail.com>
20529
20530 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
20531 fast fma builtins, define the macros in the C99 standard.
20532 (FP_FAST_FMAF): Likewise.
20533 (FP_FAST_FMAL): Likewise.
20534 * sysdeps/x86_64/bits/mathdef.h: Likewise.
20535
20536 * bits/mathdef.h: Update copyright year.
20537 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20538
d2050124
MM
205392010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
20540
20541 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
20542 builtins, define the macros in the C99 standard.
20543 (FP_FAST_FMAF): Likewise.
20544 (FP_FAST_FMAL): Likewise.
20545 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
20546 multiply/add.
20547 (FP_FAST_FMAF): Likewise.
20548
475facd1
JJ
205492010-10-15 Jakub Jelinek <jakub@redhat.com>
20550
20551 [BZ #3268]
20552 * math/libm-test.inc (fma_test): Some new testcases.
20553 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
20554 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
20555 y and infinite z. Do multiplication by C already in long double.
20556 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
20557 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
20558 y and infinite z. Do bitwise or of inexact bit into u.d.
20559 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
20560 * sysdeps/i386/fpu/s_fmaf.S: Removed.
20561 * sysdeps/i386/fpu/s_fma.S: Removed.
20562 * sysdeps/i386/fpu/s_fmal.S: Removed.
20563
7c08a05c
JJ
205642010-10-16 Jakub Jelinek <jakub@redhat.com>
20565
20566 [BZ #3268]
20567 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
20568 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
20569 computation is not scheduled after fetestexcept. Fix value
20570 of minimum denormal long double.
20571
f3f7372d
JJ
205722010-10-14 Jakub Jelinek <jakub@redhat.com>
20573
20574 [BZ #3268]
20575 * math/libm-test.inc (fma_test): Add some more tests.
20576 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
20577 correctly.
20578
14d43591
AS
205792010-10-15 Andreas Schwab <schwab@redhat.com>
20580
20581 * scripts/data/localplt-s390-linux-gnu.data: New file.
20582 * scripts/data/localplt-s390x-linux-gnu.data: New file.
20583
5e908464
JJ
205842010-10-13 Jakub Jelinek <jakub@redhat.com>
20585
20586 [BZ #3268]
20587 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
20588 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
20589 instead of dbl-64.
20590 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
20591 inlines.
20592 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
20593 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
20594 if one of x and y is very large and the other is subnormal.
20595 * sysdeps/s390/fpu/s_fmaf.c: New file.
20596 * sysdeps/s390/fpu/s_fma.c: New file.
20597 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
20598 * sysdeps/powerpc/fpu/s_fma.S: New file.
20599 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
20600 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
20601 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
20602
206032010-10-12 Jakub Jelinek <jakub@redhat.com>
20604
20605 [BZ #3268]
20606 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
20607 fma tests.
20608 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
20609 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
20610 * sysdeps/i386/i686/multiarch/s_fma.c: Include
20611 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
20612 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
20613 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
20614 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
20615
b833d51f
UD
206162010-10-12 Ulrich Drepper <drepper@redhat.com>
20617
20618 [BZ #12078]
20619 * posix/regcomp.c (parse_branch): One more memory leak plugged.
20620 * posix/bug-regex31.input: Add test case.
20621
1751705d
UD
206222010-10-11 Ulrich Drepper <drepper@gmail.com>
20623
e9b9cbf5
UD
20624 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
20625 * posix/bug-regex31.input: New file.
20626
20627 [BZ #12078]
20628 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
20629 (parse_sub_exp): Fix last change, use postorder.
20630
ef06edbe
UD
20631 * posix/bug-regex31.c: New file.
20632 * posix/Makefile: Add rules to build and run bug-regex31.
20633
a129c80d
UD
20634 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
20635
20636 [BZ #12078]
20637 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
20638
b76b818e
UD
20639 [BZ #12108]
20640 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
20641 to have entries in sys_siglist.
20642
1751705d
UD
20643 [BZ #12093]
20644 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
20645 be NULL.
20646
9ff8d36f
JJ
206472010-10-07 Jakub Jelinek <jakub@redhat.com>
20648
20649 [BZ #3268]
20650 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20651 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
20652 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20653 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
20654 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20655 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
20656 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
20657 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
20658 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
20659 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
20660 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
20661 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
20662 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20663 * math/ftestexcept.c (fetestexcept): Likewise.
20664 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
20665 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
20666 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20667 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
20668 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
20669 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
20670 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20671
af325969
UD
206722010-10-11 Ulrich Drepper <drepper@gmail.com>
20673
c579b202 20674 [BZ #12107]
af325969
UD
20675 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20676 newline.
20677
67a67b95
UD
206782010-10-06 Ulrich Drepper <drepper@gmail.com>
20679
20680 * string/bug-strstr1.c: New file.
20681 * string/Makefile: Add rules to build and run bug-strstr1.
20682
5fb308bc
EB
206832010-10-05 Eric Blake <eblake@redhat.com>
20684
20685 [BZ #12092]
20686 * string/str-two-way.h (two_way_long_needle): Always clear memory
20687 when skipping input due to the shift table.
20688
45db99c7
UD
206892010-10-03 Ulrich Drepper <drepper@gmail.com>
20690
3b111893
UD
20691 [BZ #12005]
20692 * malloc/mcheck.c: Handle large requests.
20693
45db99c7
UD
20694 [BZ #12077]
20695 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20696 for strncmp and strncasecmp.
20697 * string/stratcliff.c: Add tests for strcmp and strncmp.
20698 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20699
cf7a1eb8
NI
207002010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20701
20702 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20703 __set_fpscr.
20704
6484ba5e
AJ
207052010-09-30 Andreas Jaeger <aj@suse.de>
20706
20707 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20708 (CGROUP_SUPER_MAGIC): Define.
20709 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20710 Handle btrfs and cgroup file systems.
20711 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20712 Likewise.
20713
91c42559
LM
207142010-09-27 Luis Machado <luisgpm@br.ibm.com>
20715
20716 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20717 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20718
87a97932
AK
207192010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20720
20721 [BZ #12067]
20722 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20723 trying to locate the ELF header.
20724
c21cc9bc
AS
207252010-09-27 Andreas Schwab <schwab@redhat.com>
20726
20727 [BZ #11611]
20728 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20729 Mask out sign-bit copies when constructing f_fsid.
20730
315970f6
PB
207312010-09-24 Petr Baudis <pasky@suse.cz>
20732
20733 * debug/stack_chk_fail_local.c: Add missing licence exception.
20734 * debug/warning-nop.c: Likewise.
20735
1ac7a2c7
JM
207362010-09-15 Joseph Myers <joseph@codesourcery.com>
20737
20738 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20739 implementing getdents64 using getdents syscall, set d_type if
20740 __ASSUME_GETDENTS32_D_TYPE.
20741
56801c50
AS
207422010-09-16 Andreas Schwab <schwab@redhat.com>
20743
20744 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20745 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20746
dda51327
UD
207472010-09-21 Ulrich Drepper <drepper@redhat.com>
20748
20749 [BZ #12037]
20750 * posix/unistd.h: Undo change of feature selection for ftruncate from
20751 2010-01-11.
20752
8ffcee4a
UD
207532010-09-20 Ulrich Drepper <drepper@redhat.com>
20754
a545ecd9 20755 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
20756 detection.
20757
e24f0a8b
AS
207582010-09-20 Andreas Schwab <schwab@redhat.com>
20759
20760 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20761 fanotify_mark.
20762 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20763
7291c56f
AS
207642010-09-14 Andreas Schwab <schwab@redhat.com>
20765
20766 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20767 variables after CHECK_SP call.
20768 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20769
bc5fb037
AS
207702010-09-13 Andreas Schwab <schwab@redhat.com>
20771 Ulrich Drepper <drepper@redhat.com>
20772
20773 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20774 re-relocationg ld.so.
20775 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20776 _dl_init_paths call.
20777 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
20778 here anymore.
20779
e66e7419
UD
207802010-09-14 Ulrich Drepper <drepper@redhat.com>
20781
20782 * resolv/res_init.c (__res_vinit): Count the default server we added.
20783
c044aa75
CLT
207842010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
20785 Ulrich Drepper <drepper@redhat.com>
20786
20787 [BZ #11968]
20788 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20789 (____longjmp_chk): Use %ebx for saving value across system call.
20790 Add unwind info.
20791
32cf4069
AS
207922010-09-06 Andreas Schwab <schwab@redhat.com>
20793
20794 * manual/Makefile: Don't mix pattern rules with normal rules.
20795
817328ee
AS
207962010-09-05 Andreas Schwab <schwab@linux-m68k.org>
20797
20798 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20799 operation.
20800 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20801 * libio/iofopncook.c (_IO_cookie_init): Likewise.
20802 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20803 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20804 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20805 Likewise.
20806
29fddf61
UD
208072010-09-04 Ulrich Drepper <drepper@redhat.com>
20808
20809 [BZ #11979]
20810 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20811 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20812
0959ffc9
UD
208132010-09-02 Ulrich Drepper <drepper@redhat.com>
20814
20815 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20816 * sysdeps/x86_64/addmul_1.S: Likewise.
20817 * sysdeps/x86_64/lshift.S: Likewise.
20818 * sysdeps/x86_64/mul_1.S: Likewise.
20819 * sysdeps/x86_64/rshift.S: Likewise.
20820 * sysdeps/x86_64/sub_n.S: Likewise.
20821 * sysdeps/x86_64/submul_1.S: Likewise.
20822
ece29840
ST
208232010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20824
0959ffc9
UD
20825 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20826 Define __sched_param instead of SCHED_* and sched_param when
ece29840 20827 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 20828 * bits/sched.h [__need_schedparam]
ece29840 20829 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
20830 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20831 (__defined_schedparam): Define to 1.
ece29840
ST
20832 (__sched_param): New structure, identical to sched_param.
20833 (__need_schedparam): Undefine.
20834
e53a31fe
MF
208352010-08-31 Mike Frysinger <vapier@gentoo.org>
20836
fdc0c10d
MF
20837 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20838 (epoll_create1): Declare.
20839
e53a31fe
MF
20840 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20841
a726d796
AS
208422010-08-31 Andreas Schwab <schwab@redhat.com>
20843
20844 [BZ #7066]
20845 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20846 shifting retval into place.
20847
2f3e3dc7
UD
208482010-09-01 Ulrich Drepper <drepper@redhat.com>
20849
f2933da9
UD
20850 * nis/rpcsvc/nis.h: Update copyright notice.
20851 * nis/rpcsvc/nis.x: Likewise.
20852 * nis/rpcsvc/nis_callback.h: Likewise.
20853 * nis/rpcsvc/nis_callback.x: Likewise.
20854 * nis/rpcsvc/nis_object.x: Likewise.
20855 * nis/rpcsvc/nis_tags.h: Likewise.
20856 * nis/rpcsvc/yp.h: Likewise.
20857 * nis/rpcsvc/yp.x: Likewise.
20858 * nis/rpcsvc/ypupd.h: Likewise.
20859 * nis/yp_xdr.c: Likewise.
20860 * nis/ypupdate_xdr.c: Likewise.
20861
2f3e3dc7
UD
20862 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20863 mainly the body of pmap_getport. Add parameters to specify timeouts.
20864 (pmap_getport): Use __libc_rpc_getport.
20865 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20866 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20867 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20868
f3dcc2f9
AS
208692010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20870
20871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20872 fanotify_mark.
20873
6d34eb5b
RM
208742010-08-27 Roland McGrath <roland@redhat.com>
20875
20876 * sysdeps/i386/i686/multiarch/Makefile
20877 (CFLAGS-varshift.c): New variable.
20878
9ea3de11
UD
208792010-08-27 Ulrich Drepper <drepper@redhat.com>
20880
c96d23fc
UD
20881 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20882 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20883
9ea3de11
UD
20884 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20885
20886 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20887
623aac7f
L
208882010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20889
20890 * sysdeps/x86_64/strlen.S: Unroll the loop.
20891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20892 strlen-sse2 strlen-sse2-bsf.
20893 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20894 __strlen_no_bsf if bit_Slow_BSF is set.
20895 (__strlen_sse42): Removed.
20896 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20897 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20898
8b2b7715
RM
208992010-08-25 Roland McGrath <roland@redhat.com>
20900
20901 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20902 * sysdeps/x86_64/multiarch/varshift.c: New file.
20903 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20904 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20905 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20906 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20907
e73015f2
L
209082010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20909
20910 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20911 strlen-sse2 strlen-sse2-bsf.
20912 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20913 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20914 (__strlen_sse2): Removed.
20915 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20916 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20917 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20918 bit_Slow_BSF for Atom.
20919 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20920 (index_Slow_BSF): Define.
20921 (HAS_SLOW_BSF): Define.
20922
df24a73e
UD
209232010-08-25 Ulrich Drepper <drepper@redhat.com>
20924
20925 [BZ #10851]
20926 * resolv/res_init.c (__res_vinit): When no server address at all
20927 is given default to loopback.
20928
f2ac4868
RM
209292010-08-24 Roland McGrath <roland@redhat.com>
20930
09055553
RM
20931 * configure.in: Remove config-name.h generation.
20932 * configure: Regenerated.
20933 * config-name.in: File removed.
20934 * scripts/config-uname.sh: New file.
20935 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20936 ($(objdir)config-name.h): New target.
20937
f2ac4868
RM
20938 * sunrpc/rpc_parse.h: Avoid nested comment.
20939
73f27d5e
RH
209402010-08-24 Richard Henderson <rth@redhat.com>
20941 Ulrich Drepper <drepper@redhat.com>
20942 H.J. Lu <hongjiu.lu@intel.com>
20943
20944 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20946 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20947 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20948 _mm_alignr_epi8 with _mm_loadu_si128.
20949 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20950 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20951 (__m128i_shift_right): Removed.
20952 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20953 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20954 * sysdeps/x86_64/multiarch/varshift.h: New file.
20955 * sysdeps/x86_64/multiarch/varshift.S: New file.
20956
84b9230c
MF
209572010-08-21 Mike Frysinger <vapier@gentoo.org>
20958
20959 * configure.in: Move assembler checks to before sysdep dir checking.
20960
9bbd0ddc
PB
209612010-08-20 Petr Baudis <pasky@suse.cz>
20962
20963 * LICENSES: Sync the sunrpc license.
20964
9da4bb31
UD
209652010-08-19 Ulrich Drepper <drepper@redhat.com>
20966
a7ab6ec8
UD
20967 * sunrpc/auth_des.c: Update copyright notice once again.
20968 * sunrpc/auth_none.c: Likewise.
20969 * sunrpc/auth_unix.c: Likewise.
20970 * sunrpc/authdes_prot.c: Likewise.
20971 * sunrpc/authuxprot.c: Likewise.
20972 * sunrpc/bindrsvprt.c: Likewise.
20973 * sunrpc/clnt_gen.c: Likewise.
20974 * sunrpc/clnt_perr.c: Likewise.
20975 * sunrpc/clnt_raw.c: Likewise.
20976 * sunrpc/clnt_simp.c: Likewise.
20977 * sunrpc/clnt_tcp.c: Likewise.
20978 * sunrpc/clnt_udp.c: Likewise.
20979 * sunrpc/clnt_unix.c: Likewise.
20980 * sunrpc/des_crypt.c: Likewise.
20981 * sunrpc/des_soft.c: Likewise.
20982 * sunrpc/get_myaddr.c: Likewise.
20983 * sunrpc/getrpcport.c: Likewise.
20984 * sunrpc/key_call.c: Likewise.
20985 * sunrpc/key_prot.c: Likewise.
20986 * sunrpc/openchild.c: Likewise.
20987 * sunrpc/pm_getmaps.c: Likewise.
20988 * sunrpc/pm_getport.c: Likewise.
20989 * sunrpc/pmap_clnt.c: Likewise.
20990 * sunrpc/pmap_prot.c: Likewise.
20991 * sunrpc/pmap_prot2.c: Likewise.
20992 * sunrpc/pmap_rmt.c: Likewise.
20993 * sunrpc/rpc/auth.h: Likewise.
20994 * sunrpc/rpc/auth_unix.h: Likewise.
20995 * sunrpc/rpc/clnt.h: Likewise.
20996 * sunrpc/rpc/des_crypt.h: Likewise.
20997 * sunrpc/rpc/key_prot.h: Likewise.
20998 * sunrpc/rpc/netdb.h: Likewise.
20999 * sunrpc/rpc/pmap_clnt.h: Likewise.
21000 * sunrpc/rpc/pmap_prot.h: Likewise.
21001 * sunrpc/rpc/pmap_rmt.h: Likewise.
21002 * sunrpc/rpc/rpc.h: Likewise.
21003 * sunrpc/rpc/rpc_des.h: Likewise.
21004 * sunrpc/rpc/rpc_msg.h: Likewise.
21005 * sunrpc/rpc/svc.h: Likewise.
21006 * sunrpc/rpc/svc_auth.h: Likewise.
21007 * sunrpc/rpc/types.h: Likewise.
21008 * sunrpc/rpc/xdr.h: Likewise.
21009 * sunrpc/rpc_clntout.c: Likewise.
21010 * sunrpc/rpc_cmsg.c: Likewise.
21011 * sunrpc/rpc_common.c: Likewise.
21012 * sunrpc/rpc_cout.c: Likewise.
21013 * sunrpc/rpc_dtable.c: Likewise.
21014 * sunrpc/rpc_hout.c: Likewise.
21015 * sunrpc/rpc_main.c: Likewise.
21016 * sunrpc/rpc_parse.c: Likewise.
21017 * sunrpc/rpc_parse.h: Likewise.
21018 * sunrpc/rpc_prot.c: Likewise.
21019 * sunrpc/rpc_sample.c: Likewise.
21020 * sunrpc/rpc_scan.c: Likewise.
21021 * sunrpc/rpc_scan.h: Likewise.
21022 * sunrpc/rpc_svcout.c: Likewise.
21023 * sunrpc/rpc_tblout.c: Likewise.
21024 * sunrpc/rpc_util.c: Likewise.
21025 * sunrpc/rpc_util.h: Likewise.
21026 * sunrpc/rpcinfo.c: Likewise.
21027 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21028 * sunrpc/rpcsvc/key_prot.x: Likewise.
21029 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21030 * sunrpc/rpcsvc/mount.x: Likewise.
21031 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21032 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21033 * sunrpc/rpcsvc/rex.x: Likewise.
21034 * sunrpc/rpcsvc/rstat.x: Likewise.
21035 * sunrpc/rpcsvc/rusers.x: Likewise.
21036 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21037 * sunrpc/rpcsvc/spray.x: Likewise.
21038 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21039 * sunrpc/rtime.c: Likewise.
21040 * sunrpc/svc.c: Likewise.
21041 * sunrpc/svc_auth.c: Likewise.
21042 * sunrpc/svc_authux.c: Likewise.
21043 * sunrpc/svc_raw.c: Likewise.
21044 * sunrpc/svc_run.c: Likewise.
21045 * sunrpc/svc_simple.c: Likewise.
21046 * sunrpc/svc_tcp.c: Likewise.
21047 * sunrpc/svc_udp.c: Likewise.
21048 * sunrpc/svc_unix.c: Likewise.
21049 * sunrpc/svcauth_des.c: Likewise.
21050 * sunrpc/xcrypt.c: Likewise.
21051 * sunrpc/xdr.c: Likewise.
21052 * sunrpc/xdr_array.c: Likewise.
21053 * sunrpc/xdr_float.c: Likewise.
21054 * sunrpc/xdr_mem.c: Likewise.
21055 * sunrpc/xdr_rec.c: Likewise.
21056 * sunrpc/xdr_ref.c: Likewise.
21057 * sunrpc/xdr_sizeof.c: Likewise.
21058 * sunrpc/xdr_stdio.c: Likewise.
21059
9da4bb31
UD
21060 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21061 handling.
21062
bdaa77bc
AS
210632010-08-19 Andreas Schwab <schwab@redhat.com>
21064
21065 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21066
fe2f79db
LM
210672010-08-19 Luis Machado <luisgpm@br.ibm.com>
21068
21069 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21070 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21071 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21072 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21073 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21074 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21075 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21076 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21077 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21078 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21079 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21080 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21081 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21082 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21083
b9b42ee0
AB
210842010-07-26 Anton Blanchard <anton@samba.org>
21085
21086 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21087 * malloc/arena.c (heap_trim): Likewise.
21088
1c06ba31
UD
210892010-08-16 Ulrich Drepper <drepper@redhat.com>
21090
21091 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21092 here. Not...
21093 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21094 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21095
f8392f40
L
210962010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21097
21098 * sysdeps/i386/elf/Makefile: New file.
21099
3162f12e
AS
211002010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21101
21102 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21103 from fanotify_init.
21104 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21105 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21106
28c90b2c
UD
211072010-08-15 Ulrich Drepper <drepper@redhat.com>
21108
21109 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21110 of strncasecmp_l.
1feccb6c 21111 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 21112
ca6bb004
UD
211132010-08-14 Ulrich Drepper <drepper@redhat.com>
21114
e9f82e0d
UD
21115 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21116 strncase_l-nonascii.
21117 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21118 Add strncase_l-ssse3.
21119 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21120 * sysdeps/x86_64/strcmp.S: Likewise.
21121 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21122 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21123 * sysdeps/x86_64/strncase.S: New file.
21124 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21125 * sysdeps/x86_64/strncase_l.S: New file.
21126 * string/Makefile (strop-tests): Add strncasecmp.
21127 * string/test-strncasecmp.c: New file.
21128
21129 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21130 warning.
21131
ca6bb004
UD
21132 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21133 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21134
052fa7b3
AS
211352010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21136
21137 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21138
962dba78
UD
211392010-08-12 Ulrich Drepper <drepper@redhat.com>
21140
21141 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21142 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21143 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21144
bebff237
AM
211452010-05-01 Alan Modra <amodra@gmail.com>
21146
21147 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21148 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21149 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21150 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21151 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21152 tidying. Don't tail-call __sigjmp_save for static lib.
21153 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21154 save location.
21155 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21156 (CALL_MCOUNT): Add eh info, and nop after bl.
21157 (TAIL_CALL_SYSCALL_ERROR): New macro.
21158 (PSEUDO_RET): Use it.
21159 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21160 Correct save location of integer regs and cr.
21161 (_dl_profile_resolve): Correct cr save location. Delete nops
21162 after bl when SHARED. Reduce cfi size a little by better
21163 placement of cfi directives.
21164 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21165 make a stack frame. Instead use parm save area as a temp.
21166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21167 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
21168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21169 Don't make a stack frame for parent, use parm save area.
21170 Increase child stack frame to 112 bytes. Don't save unused reg,
21171 and adjust reg usage. Set up cfi on error recovery and
21172 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21174 (__makecontext): Add dummy nop after jump to exit.
21175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21176 Use correct parm save area and cr save, reduce stack frame.
21177 Correct cfi for possible PSEUDO_RET frame setup.
21178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21179 Branch to local label emitted by PSEUDO_RET rather than
21180 __syscall_error.
21181
02637374
AS
211822010-08-12 Andreas Schwab <schwab@redhat.com>
21183
21184 [BZ #11904]
21185 * locale/programs/locale.c (print_assignment): New function.
21186 (show_locale_vars): Use it.
21187
c3e2f19b
UD
211882010-08-11 Ulrich Drepper <drepper@redhat.com>
21189
3cdaa6ad
UD
21190 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21191 field.
21192 (struct statfs64): Likewise.
21193 (_STATFS_F_FLAGS): Define.
21194 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21195 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21196 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21197 (ST_VALID): Define locally.
21198 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21199 __statvfs_getflags, use the provided value.
21200 * sysdeps/unix/sysv/linux/kernel-features.h: Define
21201 __ASSUME_STATFS_F_FLAGS.
21202
754f7da3
UD
21203 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21204
10b3bedc
UD
21205 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
21206 Add sys/fanotify.h.
21207 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
21208 fanotify_mask for GLIBC_2.13.
21209 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
21210 fanotify_init and fanotify_mark.
21211 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21212 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
21213
c08fb0d7
UD
21214 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
21215 Add prlimit.
21216 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
21217 prlimit64 for GLIBC_2.13.
21218 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
21219 prlimit64.
21220 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
21221 syscall.
21222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
21223 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21224 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
21225 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
21226 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
21227 add prlimit alias.
21228 * sysdeps/unix/sysv/linux/prlimit.c: New file.
21229
15bac72b
UD
21230 [BZ #11903]
21231 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
21232 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
21233
c3e2f19b
UD
21234 * nss/Makefile: Add rules to build and run tst-nss-test1.
21235 * shlib-versions: Add entry for libnss_test1.
21236 * nss/nss_test1.c: New file.
21237 * nss/tst-nss-test1.c: New file.
21238
21239 * nss/nsswitch.c (__nss_database_custom): Define new variable.
21240 (__nss_configure_lookup): Set appropriate entry in
21241 __nss_configure_lookup to true.
21242 * nss/nsswitch.h: Define enum with indeces of databases in
21243 databases and __nss_database_custom arrays. Declare
21244 __nss_database_custom.
21245 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
21246 to avoid using nscd when custom rules are installed.
21247 * nss/getXXbyYY_r.c: Likewise.
21248 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21249
21250 * nss/nss_files/files-parse.c: Whitespace fixes.
21251
f15ce4d8
UD
212522010-08-09 Ulrich Drepper <drepper@redhat.com>
21253
21254 [BZ #11883]
21255 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
21256 * posix/fnmatch_loop.c: Likewise.
21257
d22e4cc9
AK
212582010-07-17 Andi Kleen <ak@linux.intel.com>
21259
21260 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
21261 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
21262 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
21263 * Versions.def [GLIBC_2.13]: Add.
21264
805bc17d
UD
212652010-08-06 Ulrich Drepper <drepper@redhat.com>
21266
21267 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21268 Also fail if tpwd after pwuid call is NULL.
21269
5a42321d
ST
212702010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
21271
21272 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
21273 when converting to ms.
21274
fd3ebeda
ST
212752010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21276
21277 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
21278 EOPNOTSUPP errors with ENOTTY.
21279 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
21280 EOPNOTSUPP errors with ENOTTY.
21281
73507d3a
UD
212822010-07-31 Ulrich Drepper <drepper@redhat.com>
21283
21284 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21285 Add strcasecmp_l-ssse3.
21286 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
21287 strcasecmp.
21288 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
21289 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
21290 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
21291
fe36dd02
UD
212922010-07-30 Ulrich Drepper <drepper@redhat.com>
21293
66f6765a
UD
21294 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
21295
42e08a54
UD
21296 * string/Makefile (strop-tests): Add strcasecmp.
21297 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21298 strcasecmp_l-nonascii.
21299 (gen-as-const-headers): Add locale-defines.sym.
21300 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
21301 * sysdeps/x86_64/strcasecmp.S: New file.
21302 * sysdeps/x86_64/strcasecmp_l.S: New file.
21303 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
21304 * sysdeps/x86_64/locale-defines.sym: New file.
21305 * string/test-strcasecmp.c: New file.
21306
fe36dd02
UD
21307 * string/test-strcasestr.c: Test both ends of the range of characters.
21308 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
21309
48cbc0d6
RM
213102010-07-29 Roland McGrath <roland@redhat.com>
21311
76e6d6bc 21312 [BZ #11856]
48cbc0d6
RM
21313 * manual/locale.texi (Yes-or-No Questions): Fix example code.
21314
880113d9
UD
213152010-07-27 Ulrich Drepper <drepper@redhat.com>
21316
21317 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
21318 for ld.so.
21319
deb9cabb
AS
213202010-07-27 Andreas Schwab <schwab@redhat.com>
21321
21322 * manual/memory.texi (Malloc Tunable Parameters): Document
21323 M_PERTURB.
21324
1c7570ff
RM
213252010-07-26 Roland McGrath <roland@redhat.com>
21326
21327 [BZ #11840]
21328 * configure.in (-fgnu89-inline check): Set and substitute
21329 gnu89_inline, not libc_cv_gnu89_inline.
21330 * configure: Regenerated.
21331 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
21332
24fb0f88
UD
213332010-07-26 Ulrich Drepper <drepper@redhat.com>
21334
21335 * string/test-strnlen.c: New file.
21336 * string/Makefile (strop-tests): Add strnlen.
21337 * string/tester.c (test_strnlen): Add a few more test cases.
21338 * string/tst-strlen.c: Better error reporting.
21339
21340 * sysdeps/x86_64/strnlen.S: New file.
21341
8e96b93a
UD
213422010-07-24 Ulrich Drepper <drepper@redhat.com>
21343
21344 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
21345 lower-latency instructions.
21346
dbc676d4
UD
213472010-07-23 Ulrich Drepper <drepper@redhat.com>
21348
21349 * string/test-strcasestr.c: New file.
21350 * string/test-strstr.c: New file.
21351 * string/Makefile (strop-tests): Add strstr and strcasestr.
21352 * string/str-two-way.h: Don't undefine MAX.
21353 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
21354
f6a31e0e
AS
213552010-07-21 Andreas Schwab <schwab@redhat.com>
21356
21357 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21358 strcasestr-nonascii.
21359 (CFLAGS-strcasestr-nonascii.c): Define.
21360 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
21361 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
21362 Remove unused attribute.
21363
5dbc3b6c
RM
213642010-07-20 Roland McGrath <roland@redhat.com>
21365
21366 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
21367 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
21368 ld.so.cache was broken. With it, there is no way to disable dsocaps
21369 like LD_HWCAP_MASK can disable hwcaps.
21370
23d101d8
EPM
213712010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21372
21373 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
21374
cc9f2e47
UD
213752010-07-16 Ulrich Drepper <drepper@redhat.com>
21376
21377 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
21378 call in strcasestr.
21379 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
21380 __strcasestr_sse42_nonascii.
21381 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
21382 strcasestr-nonascii.c.
21383 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
21384
77c1b069
LM
213852010-06-15 Luis Machado <luisgpm@br.ibm.com>
21386
21387 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
21388 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
21389 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
21390 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
21391
440566c3
UD
213922010-07-09 Ulrich Drepper <drepper@redhat.com>
21393
21394 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
21395 fcntl.
21396
5be9d05d
AS
213972010-07-06 Andreas Schwab <schwab@redhat.com>
21398
c30b7ee2 21399 [BZ #11577]
5be9d05d
AS
21400 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
21401 dl_signal_cerror.
21402
8a492a67
UD
214032010-07-06 Ulrich Drepper <drepper@redhat.com>
21404
21405 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
21406 _PC_PIPE_BUF using F_GETPIPE_SZ.
21407
713df3d5
RM
214082010-07-05 Roland McGrath <roland@redhat.com>
21409
21410 * manual/arith.texi (Rounding Functions): Fix rint description
21411 implicit in round description.
21412
702e8f14
UD
214132010-07-02 Ulrich Drepper <drepper@redhat.com>
21414
21415 * elf/Makefile: Fix linking for a few tests to make recent linker
21416 happy.
21417
52ed8be9
AS
214182010-06-30 Andreas Schwab <schwab@redhat.com>
21419
21420 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21421 $(common-objpfx)libc_nonshared.a.
21422
f47c9a11
LM
214232010-06-21 Luis Machado <luisgpm@br.ibm.com>
21424
21425 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
21426 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
21427 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21428 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21429 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
21430 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
21431 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21432 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
21434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
21435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
21436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
21438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
21440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
21441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
21442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
21443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
21445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
21447 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
21448 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
21449 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
21450 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
21451 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
21452 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
21453 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
21454 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
21455 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
21456 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
21457 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
21458 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
21459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
21460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
21461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
21462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
21463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
21464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
21465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
21466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
21467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
21468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
21469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
21470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
21471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
21472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
21473
6fb8cbcb
L
214742010-06-25 H.J. Lu <hongjiu.lu@intel.com>
21475
21476 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
21477 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
21478 * string/memmove.c (memmove): Renamed to ...
21479 (MEMMOVE): ...this. Default to memmove.
21480 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
21481 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
21482 (END_CHK): Define.
21483 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21484 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
21485 mempcpy-ssse3-back memmove-ssse3-back.
21486 * sysdeps/x86_64/multiarch/bcopy.S: New file .
21487 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
21488 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
21489 * sysdeps/x86_64/multiarch/memcpy.S: New file.
21490 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
21491 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
21492 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
21493 * sysdeps/x86_64/multiarch/memmove.c: New file.
21494 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
21495 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
21496 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
21497 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
21498 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
21499 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
21500 Define.
21501 (index_Fast_Copy_Backward): Define.
21502 (HAS_ARCH_FEATURE): Define.
21503 (HAS_FAST_REP_STRING): Define.
21504 (HAS_FAST_COPY_BACKWARD): Define.
21505
4e733bac 215062010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
21507
21508 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21509 Restore proper fallback handling.
21510
63c4ed22
UD
215112010-06-19 Ulrich Drepper <drepper@redhat.com>
21512
ac2b484c
UD
21513 [BZ #11701]
21514 * posix/group_member.c (__group_member): Correct checking loop.
21515
63c4ed22
UD
21516 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
21517 OOM in getpwuid_r correctly. Return error number when the caller
21518 should return, otherwise -1.
21519 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
21520 call returning > 0 value.
21521 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
21522
765ade4b
AS
215232010-06-07 Andreas Schwab <schwab@redhat.com>
21524
21525 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
21526 libc_nonshared.a from targets in modules-names.
21527
80da2e09
KS
215282010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
21529
21530 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
21531 requires it.
21532
158db122
LM
215332010-06-10 Luis Machado <luisgpm@br.ibm.com>
21534
21535 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
21536 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
21537 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
21538 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
21539
caa78cf8
AS
215402010-06-02 Andreas Schwab <schwab@redhat.com>
21541
21542 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
21543
b2ef2c01
UD
215442010-06-14 Ulrich Drepper <drepper@redhat.com>
21545
21546 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
21547 and F_GETPIPE_SZ.
21548 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21549 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21550 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21551 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21552 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21553 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
21554
fbd643b6
RM
215552010-06-14 Roland McGrath <roland@redhat.com>
21556
21557 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
21558
f32f2869
JJ
215592010-06-07 Jakub Jelinek <jakub@redhat.com>
21560
21561 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
21562 __REDIRECT followed by __THROW.
21563 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
21564 * posix/getopt.h (getopt): Likewise.
21565
2a50c078
EPM
215662010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21567
21568 * hurd/lookup-at.c (__file_name_lookup_at): Accept
21569 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
21570 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
21571 in AT_FLAGS.
21572 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
21573 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
21574
eb5ad2eb
LM
215752010-05-28 Luis Machado <luisgpm@br.ibm.com>
21576
21577 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
21578
3c88fe1e
L
215792010-05-26 H.J. Lu <hongjiu.lu@intel.com>
21580
21581 [BZ #11640]
21582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21583 Properly check family and model.
21584
d2f73151
TY
215852010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
21586
21587 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
21588
ebd2e13d
LM
215892010-05-24 Luis Machado <luisgpm@br.ibm.com>
21590
21591 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
21592
b32b8b45
UD
215932010-05-21 Ulrich Drepper <drepper@redhat.com>
21594
21595 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
21596 symbol reference.
21597
9acbe24d
AS
215982010-05-19 Andreas Schwab <schwab@redhat.com>
21599
21600 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
21601 symbol reference.
21602
f0ccf6ea
AS
216032010-05-21 Andreas Schwab <schwab@redhat.com>
21604
3d04ff3a
AS
21605 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
21606 and internal_recvmmsg.
21607 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
21608 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
21609 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
21610 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
21611
f0ccf6ea
AS
21612 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
21613 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21614 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21615
5b08ac57
AS
216162010-05-20 Andreas Schwab <schwab@redhat.com>
21617
21618 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
21619
4828935d
LM
216202010-05-17 Luis Machado <luisgpm@br.ibm.com>
21621
21622 POWER7 optimizations.
21623 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
21624 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
21625
373d545e
UD
216262010-05-19 Ulrich Drepper <drepper@redhat.com>
21627
21628 * version.h: Update for 2.13 development version.
21629
21a2b1ae
AS
216302010-05-12 Andrew Stubbs <ams@codesourcery.com>
21631
21632 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
21633 exceptions. Return 0.
21634
3f7dcb2b
RM
216352010-05-07 Roland McGrath <roland@redhat.com>
21636
21637 * elf/ldconfig.c (main): Add a const.
21638
5f24d53a 216392010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 21640
a160f8d8
UD
21641 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
21642 (args_options): Add no-idn option.
21643 (ahosts_keys_int): Add idn_flags to ai_flags.
21644 (parse_option): Handle 'i' option to clear idn_flags.
21645
5f24d53a
UD
21646 * malloc/malloc.c (_int_free): Possible race in the most recently
21647 added check. Only act on the data if no current modification
21648 happened.
265bb1ce
UD
21649
21650See ChangeLog.17 for earlier changes.