aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/Makefile2
-rw-r--r--sysdeps/generic/__longjmp.c (renamed from sysdeps/stub/__longjmp.c)1
-rw-r--r--sysdeps/generic/_exit.c (renamed from sysdeps/stub/_exit.c)1
-rw-r--r--sysdeps/generic/accept.c (renamed from sysdeps/stub/accept.c)1
-rw-r--r--sysdeps/generic/access.c (renamed from sysdeps/stub/access.c)1
-rw-r--r--sysdeps/generic/acct.c (renamed from sysdeps/stub/acct.c)1
-rw-r--r--sysdeps/generic/adjtime.c (renamed from sysdeps/stub/adjtime.c)1
-rw-r--r--sysdeps/generic/alarm.c (renamed from sysdeps/stub/alarm.c)1
-rw-r--r--sysdeps/generic/asm-syntax.h (renamed from sysdeps/stub/asm-syntax.h)0
-rw-r--r--sysdeps/generic/atomicity.h (renamed from sysdeps/stub/atomicity.h)0
-rw-r--r--sysdeps/generic/bind.c (renamed from sysdeps/stub/bind.c)1
-rw-r--r--sysdeps/generic/bits/dirent.h (renamed from sysdeps/stub/bits/dirent.h)0
-rw-r--r--sysdeps/generic/bits/elfclass.h (renamed from sysdeps/stub/bits/elfclass.h)0
-rw-r--r--sysdeps/generic/bits/endian.h (renamed from sysdeps/stub/bits/endian.h)0
-rw-r--r--sysdeps/generic/bits/errno.h (renamed from sysdeps/stub/bits/errno.h)0
-rw-r--r--sysdeps/generic/bits/fcntl.h (renamed from sysdeps/stub/bits/fcntl.h)0
-rw-r--r--sysdeps/generic/bits/fenv.h (renamed from sysdeps/stub/bits/fenv.h)0
-rw-r--r--sysdeps/generic/bits/huge_val.h (renamed from sysdeps/stub/bits/huge_val.h)0
-rw-r--r--sysdeps/generic/bits/ioctls.h (renamed from sysdeps/stub/bits/ioctls.h)0
-rw-r--r--sysdeps/generic/bits/ipc.h (renamed from sysdeps/stub/bits/ipc.h)0
-rw-r--r--sysdeps/generic/bits/libc-lock.h (renamed from sysdeps/stub/bits/libc-lock.h)0
-rw-r--r--sysdeps/generic/bits/local_lim.h (renamed from sysdeps/stub/bits/local_lim.h)0
-rw-r--r--sysdeps/generic/bits/mathinline.h (renamed from sysdeps/stub/bits/mathinline.h)0
-rw-r--r--sysdeps/generic/bits/msq.h (renamed from sysdeps/stub/bits/msq.h)0
-rw-r--r--sysdeps/generic/bits/nan.h (renamed from sysdeps/stub/bits/nan.h)0
-rw-r--r--sysdeps/generic/bits/posix_opt.h (renamed from sysdeps/stub/bits/posix_opt.h)0
-rw-r--r--sysdeps/generic/bits/sem.h (renamed from sysdeps/stub/bits/sem.h)0
-rw-r--r--sysdeps/generic/bits/setjmp.h (renamed from sysdeps/stub/bits/setjmp.h)0
-rw-r--r--sysdeps/generic/bits/shm.h (renamed from sysdeps/stub/bits/shm.h)0
-rw-r--r--sysdeps/generic/bits/sigcontext.h (renamed from sysdeps/stub/bits/sigcontext.h)0
-rw-r--r--sysdeps/generic/bits/signum.h (renamed from sysdeps/stub/bits/signum.h)0
-rw-r--r--sysdeps/generic/bits/stat.h (renamed from sysdeps/stub/bits/stat.h)0
-rw-r--r--sysdeps/generic/bits/stdio_lim.h (renamed from sysdeps/stub/bits/stdio_lim.h)0
-rw-r--r--sysdeps/generic/bits/string.h (renamed from sysdeps/stub/bits/string.h)0
-rw-r--r--sysdeps/generic/bits/time.h (renamed from sysdeps/stub/bits/time.h)0
-rw-r--r--sysdeps/generic/bits/waitflags.h (renamed from sysdeps/stub/bits/waitflags.h)0
-rw-r--r--sysdeps/generic/brdinit.c (renamed from sysdeps/stub/brdinit.c)0
-rw-r--r--sysdeps/generic/brk.c (renamed from sysdeps/stub/brk.c)1
-rw-r--r--sysdeps/generic/bsd-_setjmp.c (renamed from sysdeps/stub/bsd-_setjmp.c)0
-rw-r--r--sysdeps/generic/bsd-setjmp.c (renamed from sysdeps/stub/bsd-setjmp.c)0
-rw-r--r--sysdeps/generic/chdir.c (renamed from sysdeps/stub/chdir.c)1
-rw-r--r--sysdeps/generic/chflags.c (renamed from sysdeps/stub/chflags.c)1
-rw-r--r--sysdeps/generic/chmod.c (renamed from sysdeps/stub/chmod.c)1
-rw-r--r--sysdeps/generic/chown.c (renamed from sysdeps/stub/chown.c)1
-rw-r--r--sysdeps/generic/chroot.c (renamed from sysdeps/stub/chroot.c)1
-rw-r--r--sysdeps/generic/clock.c (renamed from sysdeps/stub/clock.c)1
-rw-r--r--sysdeps/generic/close.c (renamed from sysdeps/stub/close.c)1
-rw-r--r--sysdeps/generic/closedir.c (renamed from sysdeps/stub/closedir.c)1
-rw-r--r--sysdeps/generic/confstr.h (renamed from sysdeps/stub/confstr.h)0
-rw-r--r--sysdeps/generic/connect.c (renamed from sysdeps/stub/connect.c)1
-rw-r--r--sysdeps/generic/console.c (renamed from sysdeps/stub/console.c)0
-rw-r--r--sysdeps/generic/ctermid.c (renamed from sysdeps/stub/ctermid.c)1
-rw-r--r--sysdeps/generic/cuserid.c (renamed from sysdeps/stub/cuserid.c)1
-rw-r--r--sysdeps/generic/dbl2mpn.c (renamed from sysdeps/stub/dbl2mpn.c)0
-rw-r--r--sysdeps/generic/defs.c (renamed from sysdeps/stub/defs.c)0
-rw-r--r--sysdeps/generic/des_impl.c (renamed from sysdeps/stub/des_impl.c)1
-rw-r--r--sysdeps/generic/dirfd.c (renamed from sysdeps/stub/dirfd.c)1
-rw-r--r--sysdeps/generic/dirstream.h (renamed from sysdeps/stub/dirstream.h)0
-rw-r--r--sysdeps/generic/dl-machine.h (renamed from sysdeps/stub/dl-machine.h)0
-rw-r--r--sysdeps/generic/dup.c (renamed from sysdeps/stub/dup.c)1
-rw-r--r--sysdeps/generic/dup2.c (renamed from sysdeps/stub/dup2.c)1
-rw-r--r--sysdeps/generic/e_acoshl.c (renamed from sysdeps/stub/e_acoshl.c)1
-rw-r--r--sysdeps/generic/e_acosl.c (renamed from sysdeps/stub/e_acosl.c)1
-rw-r--r--sysdeps/generic/e_asinl.c (renamed from sysdeps/stub/e_asinl.c)1
-rw-r--r--sysdeps/generic/e_atan2l.c (renamed from sysdeps/stub/e_atan2l.c)1
-rw-r--r--sysdeps/generic/e_expl.c (renamed from sysdeps/stub/e_expl.c)1
-rw-r--r--sysdeps/generic/e_fmodl.c (renamed from sysdeps/stub/e_fmodl.c)1
-rw-r--r--sysdeps/generic/e_j0l.c (renamed from sysdeps/stub/e_j0l.c)1
-rw-r--r--sysdeps/generic/e_j1l.c (renamed from sysdeps/stub/e_j1l.c)1
-rw-r--r--sysdeps/generic/e_jnl.c (renamed from sysdeps/stub/e_jnl.c)1
-rw-r--r--sysdeps/generic/e_lgammal_r.c (renamed from sysdeps/stub/e_lgammal_r.c)1
-rw-r--r--sysdeps/generic/e_log10l.c (renamed from sysdeps/stub/e_log10l.c)1
-rw-r--r--sysdeps/generic/e_logl.c (renamed from sysdeps/stub/e_logl.c)1
-rw-r--r--sysdeps/generic/e_powl.c (renamed from sysdeps/stub/e_powl.c)1
-rw-r--r--sysdeps/generic/e_rem_pio2l.c (renamed from sysdeps/stub/e_rem_pio2l.c)1
-rw-r--r--sysdeps/generic/e_sqrtl.c (renamed from sysdeps/stub/e_sqrtl.c)1
-rw-r--r--sysdeps/generic/errlist.c (renamed from sysdeps/stub/errlist.c)0
-rw-r--r--sysdeps/generic/euidaccess.c (renamed from sysdeps/stub/euidaccess.c)1
-rw-r--r--sysdeps/generic/exc2signal.c (renamed from sysdeps/stub/exc2signal.c)0
-rw-r--r--sysdeps/generic/execve.c (renamed from sysdeps/stub/execve.c)1
-rw-r--r--sysdeps/generic/fchdir.c (renamed from sysdeps/stub/fchdir.c)1
-rw-r--r--sysdeps/generic/fchflags.c (renamed from sysdeps/stub/fchflags.c)1
-rw-r--r--sysdeps/generic/fchmod.c (renamed from sysdeps/stub/fchmod.c)1
-rw-r--r--sysdeps/generic/fchown.c (renamed from sysdeps/stub/fchown.c)1
-rw-r--r--sysdeps/generic/fclrexcpt.c (renamed from sysdeps/stub/fclrexcpt.c)1
-rw-r--r--sysdeps/generic/fcntl.c (renamed from sysdeps/stub/fcntl.c)1
-rw-r--r--sysdeps/generic/fdopen.c (renamed from sysdeps/stub/fdopen.c)1
-rw-r--r--sysdeps/generic/fegetenv.c (renamed from sysdeps/stub/fegetenv.c)1
-rw-r--r--sysdeps/generic/fegetround.c (renamed from sysdeps/stub/fegetround.c)1
-rw-r--r--sysdeps/generic/feholdexcpt.c (renamed from sysdeps/stub/feholdexcpt.c)1
-rw-r--r--sysdeps/generic/fesetenv.c (renamed from sysdeps/stub/fesetenv.c)1
-rw-r--r--sysdeps/generic/fesetround.c (renamed from sysdeps/stub/fesetround.c)1
-rw-r--r--sysdeps/generic/feupdateenv.c (renamed from sysdeps/stub/feupdateenv.c)1
-rw-r--r--sysdeps/generic/fexecve.c (renamed from sysdeps/stub/fexecve.c)1
-rw-r--r--sysdeps/generic/fgetexcptflg.c (renamed from sysdeps/stub/fgetexcptflg.c)1
-rw-r--r--sysdeps/generic/flock.c (renamed from sysdeps/stub/flock.c)1
-rw-r--r--sysdeps/generic/fork.c (renamed from sysdeps/stub/fork.c)1
-rw-r--r--sysdeps/generic/fpathconf.c (renamed from sysdeps/stub/fpathconf.c)1
-rw-r--r--sysdeps/generic/fpu_control.h (renamed from sysdeps/stub/fpu_control.h)0
-rw-r--r--sysdeps/generic/fraiseexcpt.c (renamed from sysdeps/stub/fraiseexcpt.c)1
-rw-r--r--sysdeps/generic/fsetexcptflg.c (renamed from sysdeps/stub/fsetexcptflg.c)1
-rw-r--r--sysdeps/generic/fstatfs.c (renamed from sysdeps/stub/fstatfs.c)1
-rw-r--r--sysdeps/generic/fstatfs64.c (renamed from sysdeps/stub/fstatfs64.c)1
-rw-r--r--sysdeps/generic/fsync.c (renamed from sysdeps/stub/fsync.c)1
-rw-r--r--sysdeps/generic/ftestexcept.c (renamed from sysdeps/stub/ftestexcept.c)1
-rw-r--r--sysdeps/generic/ftruncate.c (renamed from sysdeps/stub/ftruncate.c)1
-rw-r--r--sysdeps/generic/fxstat.c (renamed from sysdeps/stub/fxstat.c)1
-rw-r--r--sysdeps/generic/fxstat64.c (renamed from sysdeps/stub/fxstat64.c)1
-rw-r--r--sysdeps/generic/gai_strerror.c (renamed from sysdeps/stub/gai_strerror.c)0
-rw-r--r--sysdeps/generic/getaddrinfo.c (renamed from sysdeps/stub/getaddrinfo.c)1
-rw-r--r--sysdeps/generic/getcwd.c (renamed from sysdeps/stub/getcwd.c)1
-rw-r--r--sysdeps/generic/getdents.c (renamed from sysdeps/stub/getdents.c)1
-rw-r--r--sysdeps/generic/getdomain.c1
-rw-r--r--sysdeps/generic/getdtsz.c (renamed from sysdeps/stub/getdtsz.c)1
-rw-r--r--sysdeps/generic/getegid.c (renamed from sysdeps/stub/getegid.c)1
-rw-r--r--sysdeps/generic/geteuid.c (renamed from sysdeps/stub/geteuid.c)1
-rw-r--r--sysdeps/generic/getgid.c (renamed from sysdeps/stub/getgid.c)1
-rw-r--r--sysdeps/generic/getgroups.c (renamed from sysdeps/stub/getgroups.c)1
-rw-r--r--sysdeps/generic/gethostid.c (renamed from sysdeps/stub/gethostid.c)1
-rw-r--r--sysdeps/generic/gethostname.c (renamed from sysdeps/stub/gethostname.c)1
-rw-r--r--sysdeps/generic/getitimer.c (renamed from sysdeps/stub/getitimer.c)1
-rw-r--r--sysdeps/generic/getlogin.c (renamed from sysdeps/stub/getlogin.c)1
-rw-r--r--sysdeps/generic/getlogin_r.c (renamed from sysdeps/stub/getlogin_r.c)1
-rw-r--r--sysdeps/generic/getpagesize.c (renamed from sysdeps/stub/getpagesize.c)1
-rw-r--r--sysdeps/generic/getpeername.c (renamed from sysdeps/stub/getpeername.c)1
-rw-r--r--sysdeps/generic/getpgid.c (renamed from sysdeps/stub/getpgid.c)1
-rw-r--r--sysdeps/generic/getpid.c (renamed from sysdeps/stub/getpid.c)1
-rw-r--r--sysdeps/generic/getppid.c (renamed from sysdeps/stub/getppid.c)1
-rw-r--r--sysdeps/generic/getpriority.c (renamed from sysdeps/stub/getpriority.c)1
-rw-r--r--sysdeps/generic/getrlimit.c (renamed from sysdeps/stub/getrlimit.c)1
-rw-r--r--sysdeps/generic/getrlimit64.c (renamed from sysdeps/stub/getrlimit64.c)1
-rw-r--r--sysdeps/generic/getrusage.c (renamed from sysdeps/stub/getrusage.c)1
-rw-r--r--sysdeps/generic/getsid.c (renamed from sysdeps/stub/getsid.c)1
-rw-r--r--sysdeps/generic/getsockname.c (renamed from sysdeps/stub/getsockname.c)1
-rw-r--r--sysdeps/generic/getsockopt.c (renamed from sysdeps/stub/getsockopt.c)1
-rw-r--r--sysdeps/generic/getsysstats.c (renamed from sysdeps/stub/getsysstats.c)1
-rw-r--r--sysdeps/generic/gettimeofday.c (renamed from sysdeps/stub/gettimeofday.c)1
-rw-r--r--sysdeps/generic/getuid.c (renamed from sysdeps/stub/getuid.c)1
-rw-r--r--sysdeps/generic/gtty.c (renamed from sysdeps/stub/gtty.c)1
-rw-r--r--sysdeps/generic/if_index.c (renamed from sysdeps/stub/if_index.c)1
-rw-r--r--sysdeps/generic/init-first.c (renamed from sysdeps/stub/init-first.c)0
-rw-r--r--sysdeps/generic/init-posix.c (renamed from sysdeps/stub/init-posix.c)0
-rw-r--r--sysdeps/generic/intr-msg.h (renamed from sysdeps/stub/intr-msg.h)0
-rw-r--r--sysdeps/generic/ioctl.c (renamed from sysdeps/stub/ioctl.c)1
-rw-r--r--sysdeps/generic/isatty.c (renamed from sysdeps/stub/isatty.c)1
-rw-r--r--sysdeps/generic/isfdtype.c (renamed from sysdeps/stub/isfdtype.c)1
-rw-r--r--sysdeps/generic/jmp-unwind.c (renamed from sysdeps/stub/jmp-unwind.c)0
-rw-r--r--sysdeps/generic/k_cosl.c (renamed from sysdeps/stub/k_cosl.c)1
-rw-r--r--sysdeps/generic/k_rem_pio2l.c (renamed from sysdeps/stub/k_rem_pio2l.c)1
-rw-r--r--sysdeps/generic/k_sinl.c (renamed from sysdeps/stub/k_sinl.c)1
-rw-r--r--sysdeps/generic/k_tanl.c (renamed from sysdeps/stub/k_tanl.c)1
-rw-r--r--sysdeps/generic/kill.c (renamed from sysdeps/stub/kill.c)1
-rw-r--r--sysdeps/generic/killpg.c (renamed from sysdeps/stub/killpg.c)1
-rw-r--r--sysdeps/generic/lchown.c (renamed from sysdeps/stub/lchown.c)1
-rw-r--r--sysdeps/generic/ldbl2mpn.c (renamed from sysdeps/stub/ldbl2mpn.c)0
-rw-r--r--sysdeps/generic/libc_fatal.c (renamed from sysdeps/stub/libc_fatal.c)0
-rw-r--r--sysdeps/generic/link.c (renamed from sysdeps/stub/link.c)1
-rw-r--r--sysdeps/generic/listen.c (renamed from sysdeps/stub/listen.c)1
-rw-r--r--sysdeps/generic/lockfile.c (renamed from sysdeps/stub/lockfile.c)0
-rw-r--r--sysdeps/generic/longjmp-ts.c (renamed from sysdeps/stub/longjmp-ts.c)0
-rw-r--r--sysdeps/generic/lseek.c (renamed from sysdeps/stub/lseek.c)1
-rw-r--r--sysdeps/generic/lseek64.c (renamed from sysdeps/stub/lseek64.c)1
-rw-r--r--sysdeps/generic/lxstat64.c (renamed from sysdeps/stub/lxstat64.c)1
-rw-r--r--sysdeps/generic/machine-lock.h (renamed from sysdeps/stub/machine-lock.h)0
-rw-r--r--sysdeps/generic/machine-sp.h (renamed from sysdeps/stub/machine-sp.h)0
-rw-r--r--sysdeps/generic/madvise.c (renamed from sysdeps/stub/madvise.c)3
-rw-r--r--sysdeps/generic/mkdir.c (renamed from sysdeps/stub/mkdir.c)1
-rw-r--r--sysdeps/generic/mkfifo.c (renamed from sysdeps/stub/mkfifo.c)1
-rw-r--r--sysdeps/generic/mkstemp.c (renamed from sysdeps/stub/mkstemp.c)1
-rw-r--r--sysdeps/generic/mktemp.c (renamed from sysdeps/stub/mktemp.c)1
-rw-r--r--sysdeps/generic/mmap.c (renamed from sysdeps/stub/mmap.c)9
-rw-r--r--sysdeps/generic/mpn2dbl.c (renamed from sysdeps/stub/mpn2dbl.c)0
-rw-r--r--sysdeps/generic/mpn2flt.c (renamed from sysdeps/stub/mpn2flt.c)0
-rw-r--r--sysdeps/generic/mpn2ldbl.c (renamed from sysdeps/stub/mpn2ldbl.c)0
-rw-r--r--sysdeps/generic/mprotect.c (renamed from sysdeps/stub/mprotect.c)3
-rw-r--r--sysdeps/generic/msgctl.c (renamed from sysdeps/stub/msgctl.c)1
-rw-r--r--sysdeps/generic/msgget.c (renamed from sysdeps/stub/msgget.c)1
-rw-r--r--sysdeps/generic/msgrcv.c (renamed from sysdeps/stub/msgrcv.c)1
-rw-r--r--sysdeps/generic/msgsnd.c (renamed from sysdeps/stub/msgsnd.c)1
-rw-r--r--sysdeps/generic/msync.c (renamed from sysdeps/stub/msync.c)3
-rw-r--r--sysdeps/generic/munmap.c (renamed from sysdeps/stub/munmap.c)3
-rw-r--r--sysdeps/generic/nanosleep.c (renamed from sysdeps/stub/nanosleep.c)1
-rw-r--r--sysdeps/generic/nice.c (renamed from sysdeps/stub/nice.c)1
-rw-r--r--sysdeps/generic/nlist.c (renamed from sysdeps/stub/nlist.c)1
-rw-r--r--sysdeps/generic/open.c (renamed from sysdeps/stub/open.c)1
-rw-r--r--sysdeps/generic/open64.c (renamed from sysdeps/stub/open64.c)1
-rw-r--r--sysdeps/generic/opendir.c (renamed from sysdeps/stub/opendir.c)1
-rw-r--r--sysdeps/generic/pathconf.c (renamed from sysdeps/stub/pathconf.c)1
-rw-r--r--sysdeps/generic/pause.c (renamed from sysdeps/stub/pause.c)1
-rw-r--r--sysdeps/generic/pipe.c (renamed from sysdeps/stub/pipe.c)1
-rw-r--r--sysdeps/generic/pipestream.c (renamed from sysdeps/stub/pipestream.c)1
-rw-r--r--sysdeps/generic/poll.c (renamed from sysdeps/stub/poll.c)1
-rw-r--r--sysdeps/generic/pread.c (renamed from sysdeps/stub/pread.c)1
-rw-r--r--sysdeps/generic/pread64.c (renamed from sysdeps/stub/pread64.c)1
-rw-r--r--sysdeps/generic/profil.c (renamed from sysdeps/stub/profil.c)1
-rw-r--r--sysdeps/generic/ptrace.c (renamed from sysdeps/stub/ptrace.c)1
-rw-r--r--sysdeps/generic/pwrite.c (renamed from sysdeps/stub/pwrite.c)1
-rw-r--r--sysdeps/generic/pwrite64.c (renamed from sysdeps/stub/pwrite64.c)1
-rw-r--r--sysdeps/generic/raise.c (renamed from sysdeps/stub/raise.c)1
-rw-r--r--sysdeps/generic/read.c (renamed from sysdeps/stub/read.c)1
-rw-r--r--sysdeps/generic/readdir.c (renamed from sysdeps/stub/readdir.c)1
-rw-r--r--sysdeps/generic/readdir64.c (renamed from sysdeps/stub/readdir64.c)1
-rw-r--r--sysdeps/generic/readdir64_r.c (renamed from sysdeps/stub/readdir64_r.c)1
-rw-r--r--sysdeps/generic/readdir_r.c (renamed from sysdeps/stub/readdir_r.c)1
-rw-r--r--sysdeps/generic/readlink.c (renamed from sysdeps/stub/readlink.c)1
-rw-r--r--sysdeps/generic/readv.c (renamed from sysdeps/stub/readv.c)1
-rw-r--r--sysdeps/generic/reboot.c (renamed from sysdeps/stub/reboot.c)1
-rw-r--r--sysdeps/generic/recv.c (renamed from sysdeps/stub/recv.c)1
-rw-r--r--sysdeps/generic/recvfrom.c (renamed from sysdeps/stub/recvfrom.c)1
-rw-r--r--sysdeps/generic/recvmsg.c (renamed from sysdeps/stub/recvmsg.c)1
-rw-r--r--sysdeps/generic/remove.c (renamed from sysdeps/stub/remove.c)1
-rw-r--r--sysdeps/generic/rename.c (renamed from sysdeps/stub/rename.c)1
-rw-r--r--sysdeps/generic/revoke.c (renamed from sysdeps/stub/revoke.c)1
-rw-r--r--sysdeps/generic/rewinddir.c (renamed from sysdeps/stub/rewinddir.c)1
-rw-r--r--sysdeps/generic/rmdir.c (renamed from sysdeps/stub/rmdir.c)1
-rw-r--r--sysdeps/generic/s_atanl.c (renamed from sysdeps/stub/s_atanl.c)1
-rw-r--r--sysdeps/generic/s_erfl.c (renamed from sysdeps/stub/s_erfl.c)1
-rw-r--r--sysdeps/generic/s_exp2.c (renamed from sysdeps/stub/s_exp2.c)1
-rw-r--r--sysdeps/generic/s_exp2f.c (renamed from sysdeps/stub/s_exp2f.c)1
-rw-r--r--sysdeps/generic/s_exp2l.c (renamed from sysdeps/stub/s_exp2l.c)1
-rw-r--r--sysdeps/generic/s_expm1l.c (renamed from sysdeps/stub/s_expm1l.c)1
-rw-r--r--sysdeps/generic/s_log1pl.c (renamed from sysdeps/stub/s_log1pl.c)1
-rw-r--r--sysdeps/generic/s_log2l.c (renamed from sysdeps/stub/s_log2l.c)1
-rw-r--r--sysdeps/generic/sched_getp.c (renamed from sysdeps/stub/sched_getp.c)1
-rw-r--r--sysdeps/generic/sched_gets.c (renamed from sysdeps/stub/sched_gets.c)1
-rw-r--r--sysdeps/generic/sched_primax.c (renamed from sysdeps/stub/sched_primax.c)1
-rw-r--r--sysdeps/generic/sched_primin.c (renamed from sysdeps/stub/sched_primin.c)1
-rw-r--r--sysdeps/generic/sched_rr_gi.c (renamed from sysdeps/stub/sched_rr_gi.c)1
-rw-r--r--sysdeps/generic/sched_setp.c (renamed from sysdeps/stub/sched_setp.c)1
-rw-r--r--sysdeps/generic/sched_sets.c (renamed from sysdeps/stub/sched_sets.c)1
-rw-r--r--sysdeps/generic/sched_yield.c (renamed from sysdeps/stub/sched_yield.c)1
-rw-r--r--sysdeps/generic/seekdir.c (renamed from sysdeps/stub/seekdir.c)1
-rw-r--r--sysdeps/generic/select.c (renamed from sysdeps/stub/select.c)1
-rw-r--r--sysdeps/generic/semctl.c (renamed from sysdeps/stub/semctl.c)1
-rw-r--r--sysdeps/generic/semget.c (renamed from sysdeps/stub/semget.c)1
-rw-r--r--sysdeps/generic/semop.c (renamed from sysdeps/stub/semop.c)1
-rw-r--r--sysdeps/generic/send.c (renamed from sysdeps/stub/send.c)1
-rw-r--r--sysdeps/generic/sendmsg.c (renamed from sysdeps/stub/sendmsg.c)1
-rw-r--r--sysdeps/generic/sendto.c (renamed from sysdeps/stub/sendto.c)1
-rw-r--r--sysdeps/generic/setdomain.c (renamed from sysdeps/stub/setdomain.c)1
-rw-r--r--sysdeps/generic/setegid.c (renamed from sysdeps/stub/setegid.c)1
-rw-r--r--sysdeps/generic/seteuid.c (renamed from sysdeps/stub/seteuid.c)1
-rw-r--r--sysdeps/generic/setfpucw.c2
-rw-r--r--sysdeps/generic/setgid.c (renamed from sysdeps/stub/setgid.c)1
-rw-r--r--sysdeps/generic/setgroups.c (renamed from sysdeps/stub/setgroups.c)1
-rw-r--r--sysdeps/generic/sethostid.c (renamed from sysdeps/stub/sethostid.c)1
-rw-r--r--sysdeps/generic/sethostname.c (renamed from sysdeps/stub/sethostname.c)1
-rw-r--r--sysdeps/generic/setitimer.c (renamed from sysdeps/stub/setitimer.c)1
-rw-r--r--sysdeps/generic/setjmp.c (renamed from sysdeps/stub/setjmp.c)1
-rw-r--r--sysdeps/generic/setlogin.c (renamed from sysdeps/stub/setlogin.c)1
-rw-r--r--sysdeps/generic/setpgid.c (renamed from sysdeps/stub/setpgid.c)1
-rw-r--r--sysdeps/generic/setpriority.c (renamed from sysdeps/stub/setpriority.c)1
-rw-r--r--sysdeps/generic/setregid.c (renamed from sysdeps/stub/setregid.c)1
-rw-r--r--sysdeps/generic/setreuid.c (renamed from sysdeps/stub/setreuid.c)1
-rw-r--r--sysdeps/generic/setrlimit.c (renamed from sysdeps/stub/setrlimit.c)1
-rw-r--r--sysdeps/generic/setrlimit64.c (renamed from sysdeps/stub/setrlimit64.c)1
-rw-r--r--sysdeps/generic/setsid.c (renamed from sysdeps/stub/setsid.c)1
-rw-r--r--sysdeps/generic/setsockopt.c (renamed from sysdeps/stub/setsockopt.c)1
-rw-r--r--sysdeps/generic/settimeofday.c (renamed from sysdeps/stub/settimeofday.c)1
-rw-r--r--sysdeps/generic/setuid.c (renamed from sysdeps/stub/setuid.c)1
-rw-r--r--sysdeps/generic/shmat.c (renamed from sysdeps/stub/shmat.c)1
-rw-r--r--sysdeps/generic/shmctl.c (renamed from sysdeps/stub/shmctl.c)1
-rw-r--r--sysdeps/generic/shmdt.c (renamed from sysdeps/stub/shmdt.c)1
-rw-r--r--sysdeps/generic/shmget.c (renamed from sysdeps/stub/shmget.c)1
-rw-r--r--sysdeps/generic/shutdown.c (renamed from sysdeps/stub/shutdown.c)1
-rw-r--r--sysdeps/generic/sigaction.c (renamed from sysdeps/stub/sigaction.c)1
-rw-r--r--sysdeps/generic/sigaltstack.c (renamed from sysdeps/stub/sigaltstack.c)1
-rw-r--r--sysdeps/generic/sigblock.c (renamed from sysdeps/stub/sigblock.c)1
-rw-r--r--sysdeps/generic/sigintr.c (renamed from sysdeps/stub/sigintr.c)1
-rw-r--r--sysdeps/generic/siglist.c (renamed from sysdeps/stub/siglist.c)0
-rw-r--r--sysdeps/generic/signal.c (renamed from sysdeps/stub/signal.c)1
-rw-r--r--sysdeps/generic/sigpause.c (renamed from sysdeps/stub/sigpause.c)1
-rw-r--r--sysdeps/generic/sigpending.c (renamed from sysdeps/stub/sigpending.c)1
-rw-r--r--sysdeps/generic/sigprocmask.c (renamed from sysdeps/stub/sigprocmask.c)0
-rw-r--r--sysdeps/generic/sigreturn.c (renamed from sysdeps/stub/sigreturn.c)1
-rw-r--r--sysdeps/generic/sigsetmask.c (renamed from sysdeps/stub/sigsetmask.c)1
-rw-r--r--sysdeps/generic/sigstack.c (renamed from sysdeps/stub/sigstack.c)1
-rw-r--r--sysdeps/generic/sigsuspend.c (renamed from sysdeps/stub/sigsuspend.c)1
-rw-r--r--sysdeps/generic/sigvec.c (renamed from sysdeps/stub/sigvec.c)1
-rw-r--r--sysdeps/generic/sigwait.c (renamed from sysdeps/stub/sigwait.c)1
-rw-r--r--sysdeps/generic/sleep.c (renamed from sysdeps/stub/sleep.c)1
-rw-r--r--sysdeps/generic/socket.c (renamed from sysdeps/stub/socket.c)1
-rw-r--r--sysdeps/generic/socketpair.c (renamed from sysdeps/stub/socketpair.c)1
-rw-r--r--sysdeps/generic/sstk.c (renamed from sysdeps/stub/sstk.c)1
-rw-r--r--sysdeps/generic/start.c (renamed from sysdeps/stub/start.c)0
-rw-r--r--sysdeps/generic/statfs.c (renamed from sysdeps/stub/statfs.c)1
-rw-r--r--sysdeps/generic/statfs64.c (renamed from sysdeps/stub/statfs64.c)1
-rw-r--r--sysdeps/generic/stdio_init.c (renamed from sysdeps/stub/stdio_init.c)0
-rw-r--r--sysdeps/generic/stime.c (renamed from sysdeps/stub/stime.c)1
-rw-r--r--sysdeps/generic/strtsupp.c (renamed from sysdeps/stub/strtsupp.c)0
-rw-r--r--sysdeps/generic/stty.c (renamed from sysdeps/stub/stty.c)1
-rw-r--r--sysdeps/generic/stub_warnings270
-rw-r--r--sysdeps/generic/swapoff.c (renamed from sysdeps/stub/swapoff.c)1
-rw-r--r--sysdeps/generic/swapon.c (renamed from sysdeps/stub/swapon.c)1
-rw-r--r--sysdeps/generic/symlink.c (renamed from sysdeps/stub/symlink.c)1
-rw-r--r--sysdeps/generic/sync.c (renamed from sysdeps/stub/sync.c)1
-rw-r--r--sysdeps/generic/sys/mman.h30
-rw-r--r--sysdeps/generic/sys/param.h (renamed from sysdeps/stub/sys/param.h)0
-rw-r--r--sysdeps/generic/sys/reboot.h (renamed from sysdeps/stub/sys/reboot.h)0
-rw-r--r--sysdeps/generic/sys/syscall.h (renamed from sysdeps/stub/sys/syscall.h)0
-rw-r--r--sysdeps/generic/syscall.c (renamed from sysdeps/stub/syscall.c)1
-rw-r--r--sysdeps/generic/sysconf.c (renamed from sysdeps/stub/sysconf.c)1
-rw-r--r--sysdeps/generic/sysdep.c (renamed from sysdeps/stub/sysdep.c)0
-rw-r--r--sysdeps/generic/system.c (renamed from sysdeps/stub/system.c)1
-rw-r--r--sysdeps/generic/sysv_signal.c (renamed from sysdeps/stub/sysv_signal.c)1
-rw-r--r--sysdeps/generic/tcdrain.c (renamed from sysdeps/stub/tcdrain.c)1
-rw-r--r--sysdeps/generic/tcflow.c (renamed from sysdeps/stub/tcflow.c)1
-rw-r--r--sysdeps/generic/tcflush.c (renamed from sysdeps/stub/tcflush.c)1
-rw-r--r--sysdeps/generic/tcgetattr.c (renamed from sysdeps/stub/tcgetattr.c)1
-rw-r--r--sysdeps/generic/tcgetpgrp.c (renamed from sysdeps/stub/tcgetpgrp.c)1
-rw-r--r--sysdeps/generic/tcsendbrk.c (renamed from sysdeps/stub/tcsendbrk.c)1
-rw-r--r--sysdeps/generic/tcsetattr.c (renamed from sysdeps/stub/tcsetattr.c)1
-rw-r--r--sysdeps/generic/tcsetpgrp.c (renamed from sysdeps/stub/tcsetpgrp.c)1
-rw-r--r--sysdeps/generic/telldir.c (renamed from sysdeps/stub/telldir.c)1
-rw-r--r--sysdeps/generic/tempname.c (renamed from sysdeps/stub/tempname.c)1
-rw-r--r--sysdeps/generic/thread_state.h (renamed from sysdeps/stub/thread_state.h)0
-rw-r--r--sysdeps/generic/time.c (renamed from sysdeps/stub/time.c)1
-rw-r--r--sysdeps/generic/times.c (renamed from sysdeps/stub/times.c)1
-rw-r--r--sysdeps/generic/trampoline.c (renamed from sysdeps/stub/trampoline.c)0
-rw-r--r--sysdeps/generic/truncate.c (renamed from sysdeps/stub/truncate.c)1
-rw-r--r--sysdeps/generic/ttyname.c (renamed from sysdeps/stub/ttyname.c)1
-rw-r--r--sysdeps/generic/ttyname_r.c (renamed from sysdeps/stub/ttyname_r.c)1
-rw-r--r--sysdeps/generic/ualarm.c (renamed from sysdeps/stub/ualarm.c)1
-rw-r--r--sysdeps/generic/udiv_qrnnd.c (renamed from sysdeps/stub/udiv_qrnnd.c)0
-rw-r--r--sysdeps/generic/ulimit.c (renamed from sysdeps/stub/ulimit.c)1
-rw-r--r--sysdeps/generic/umask.c (renamed from sysdeps/stub/umask.c)1
-rw-r--r--sysdeps/generic/unlink.c (renamed from sysdeps/stub/unlink.c)1
-rw-r--r--sysdeps/generic/usleep.c (renamed from sysdeps/stub/usleep.c)1
-rw-r--r--sysdeps/generic/ustat.c (renamed from sysdeps/stub/ustat.c)1
-rw-r--r--sysdeps/generic/utime.c (renamed from sysdeps/stub/utime.c)1
-rw-r--r--sysdeps/generic/utimes.c (renamed from sysdeps/stub/utimes.c)1
-rw-r--r--sysdeps/generic/vdprintf.c (renamed from sysdeps/stub/vdprintf.c)1
-rw-r--r--sysdeps/generic/vhangup.c (renamed from sysdeps/stub/vhangup.c)1
-rw-r--r--sysdeps/generic/wait.c (renamed from sysdeps/stub/wait.c)1
-rw-r--r--sysdeps/generic/wait3.c (renamed from sysdeps/stub/wait3.c)1
-rw-r--r--sysdeps/generic/wait4.c (renamed from sysdeps/stub/wait4.c)1
-rw-r--r--sysdeps/generic/waitpid.c (renamed from sysdeps/stub/waitpid.c)1
-rw-r--r--sysdeps/generic/write.c (renamed from sysdeps/stub/write.c)1
-rw-r--r--sysdeps/generic/writev.c (renamed from sysdeps/stub/writev.c)1
-rw-r--r--sysdeps/generic/xmknod.c (renamed from sysdeps/stub/xmknod.c)1
-rw-r--r--sysdeps/generic/xstat.c (renamed from sysdeps/stub/xstat.c)1
-rw-r--r--sysdeps/generic/xstat64.c (renamed from sysdeps/stub/xstat64.c)1
-rw-r--r--sysdeps/i386/i486/bits/string.h16
-rw-r--r--sysdeps/mach/hurd/mmap.c18
-rw-r--r--sysdeps/mach/mprotect.c2
-rw-r--r--sysdeps/mach/munmap.c2
-rw-r--r--sysdeps/unix/Makefile14
-rw-r--r--sysdeps/unix/bsd/osf/sys/mman.h22
-rw-r--r--sysdeps/unix/bsd/sun/sunos4/mmap.c8
-rw-r--r--sysdeps/unix/bsd/sun/sunos4/sys/mman.h22
-rw-r--r--sysdeps/unix/bsd/ultrix4/sys/mman.h22
-rw-r--r--sysdeps/unix/sysv/irix4/sys/mman.h22
-rw-r--r--sysdeps/unix/sysv/linux/madvise.c2
-rw-r--r--sysdeps/unix/sysv/linux/sys/mman.h43
354 files changed, 672 insertions, 114 deletions
diff --git a/sysdeps/generic/Makefile b/sysdeps/generic/Makefile
index b6a0817..2f6a8f4 100644
--- a/sysdeps/generic/Makefile
+++ b/sysdeps/generic/Makefile
@@ -16,7 +16,7 @@
# write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
-ifeq (,$(filter-out $(sysdep_dir)/stub/bits $(common-objpfx)/bits,\
+ifeq (,$(filter-out $(sysdep_dir)/generic/bits $(common-objpfx)/bits,\
$(dir $(firstword $(wildcard $(+sysdep_dirs:%=%/bits/endian.h))))))
$(common-objpfx)bytesex.h: $(common-objpfx)det_endian
diff --git a/sysdeps/stub/__longjmp.c b/sysdeps/generic/__longjmp.c
index 11b7235..84d23d4 100644
--- a/sysdeps/stub/__longjmp.c
+++ b/sysdeps/generic/__longjmp.c
@@ -36,3 +36,4 @@ __longjmp (env, val)
}
stub_warning (longjmp)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/_exit.c b/sysdeps/generic/_exit.c
index 1b8f170..5fb4366 100644
--- a/sysdeps/stub/_exit.c
+++ b/sysdeps/generic/_exit.c
@@ -31,3 +31,4 @@ _exit (status)
}
stub_warning (_exit)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/accept.c b/sysdeps/generic/accept.c
index c27070c..b8f714a 100644
--- a/sysdeps/stub/accept.c
+++ b/sysdeps/generic/accept.c
@@ -36,3 +36,4 @@ accept (fd, addr, addr_len)
stub_warning (accept)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/access.c b/sysdeps/generic/access.c
index a3b1d32..9dad9b5 100644
--- a/sysdeps/stub/access.c
+++ b/sysdeps/generic/access.c
@@ -38,3 +38,4 @@ __access (file, type)
stub_warning (access)
weak_alias (__access, access)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/acct.c b/sysdeps/generic/acct.c
index 508a775..c571567 100644
--- a/sysdeps/stub/acct.c
+++ b/sysdeps/generic/acct.c
@@ -31,3 +31,4 @@ acct (name)
}
stub_warning (acct)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/adjtime.c b/sysdeps/generic/adjtime.c
index dc15349..9b6f357 100644
--- a/sysdeps/stub/adjtime.c
+++ b/sysdeps/generic/adjtime.c
@@ -34,3 +34,4 @@ __adjtime (delta, olddelta)
stub_warning (adjtime)
weak_alias (__adjtime, adjtime)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/alarm.c b/sysdeps/generic/alarm.c
index 441327c..0f43029 100644
--- a/sysdeps/stub/alarm.c
+++ b/sysdeps/generic/alarm.c
@@ -36,3 +36,4 @@ alarm (seconds)
stub_warning (alarm)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/asm-syntax.h b/sysdeps/generic/asm-syntax.h
index a361509..a361509 100644
--- a/sysdeps/stub/asm-syntax.h
+++ b/sysdeps/generic/asm-syntax.h
diff --git a/sysdeps/stub/atomicity.h b/sysdeps/generic/atomicity.h
index 887ce73..887ce73 100644
--- a/sysdeps/stub/atomicity.h
+++ b/sysdeps/generic/atomicity.h
diff --git a/sysdeps/stub/bind.c b/sysdeps/generic/bind.c
index 7e7f0d7..1c78782 100644
--- a/sysdeps/stub/bind.c
+++ b/sysdeps/generic/bind.c
@@ -32,3 +32,4 @@ bind (fd, addr, len)
stub_warning (bind)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/bits/dirent.h b/sysdeps/generic/bits/dirent.h
index 2f7dca7..2f7dca7 100644
--- a/sysdeps/stub/bits/dirent.h
+++ b/sysdeps/generic/bits/dirent.h
diff --git a/sysdeps/stub/bits/elfclass.h b/sysdeps/generic/bits/elfclass.h
index 1ad1295..1ad1295 100644
--- a/sysdeps/stub/bits/elfclass.h
+++ b/sysdeps/generic/bits/elfclass.h
diff --git a/sysdeps/stub/bits/endian.h b/sysdeps/generic/bits/endian.h
index 597f079..597f079 100644
--- a/sysdeps/stub/bits/endian.h
+++ b/sysdeps/generic/bits/endian.h
diff --git a/sysdeps/stub/bits/errno.h b/sysdeps/generic/bits/errno.h
index e197c36..e197c36 100644
--- a/sysdeps/stub/bits/errno.h
+++ b/sysdeps/generic/bits/errno.h
diff --git a/sysdeps/stub/bits/fcntl.h b/sysdeps/generic/bits/fcntl.h
index 24a1c38..24a1c38 100644
--- a/sysdeps/stub/bits/fcntl.h
+++ b/sysdeps/generic/bits/fcntl.h
diff --git a/sysdeps/stub/bits/fenv.h b/sysdeps/generic/bits/fenv.h
index f45deb0..f45deb0 100644
--- a/sysdeps/stub/bits/fenv.h
+++ b/sysdeps/generic/bits/fenv.h
diff --git a/sysdeps/stub/bits/huge_val.h b/sysdeps/generic/bits/huge_val.h
index 8f137d1..8f137d1 100644
--- a/sysdeps/stub/bits/huge_val.h
+++ b/sysdeps/generic/bits/huge_val.h
diff --git a/sysdeps/stub/bits/ioctls.h b/sysdeps/generic/bits/ioctls.h
index 3b6178b..3b6178b 100644
--- a/sysdeps/stub/bits/ioctls.h
+++ b/sysdeps/generic/bits/ioctls.h
diff --git a/sysdeps/stub/bits/ipc.h b/sysdeps/generic/bits/ipc.h
index a5ecbd9..a5ecbd9 100644
--- a/sysdeps/stub/bits/ipc.h
+++ b/sysdeps/generic/bits/ipc.h
diff --git a/sysdeps/stub/bits/libc-lock.h b/sysdeps/generic/bits/libc-lock.h
index c24dcd0..c24dcd0 100644
--- a/sysdeps/stub/bits/libc-lock.h
+++ b/sysdeps/generic/bits/libc-lock.h
diff --git a/sysdeps/stub/bits/local_lim.h b/sysdeps/generic/bits/local_lim.h
index 42cc7eb..42cc7eb 100644
--- a/sysdeps/stub/bits/local_lim.h
+++ b/sysdeps/generic/bits/local_lim.h
diff --git a/sysdeps/stub/bits/mathinline.h b/sysdeps/generic/bits/mathinline.h
index 5498af6..5498af6 100644
--- a/sysdeps/stub/bits/mathinline.h
+++ b/sysdeps/generic/bits/mathinline.h
diff --git a/sysdeps/stub/bits/msq.h b/sysdeps/generic/bits/msq.h
index 37daa9b..37daa9b 100644
--- a/sysdeps/stub/bits/msq.h
+++ b/sysdeps/generic/bits/msq.h
diff --git a/sysdeps/stub/bits/nan.h b/sysdeps/generic/bits/nan.h
index ab38168..ab38168 100644
--- a/sysdeps/stub/bits/nan.h
+++ b/sysdeps/generic/bits/nan.h
diff --git a/sysdeps/stub/bits/posix_opt.h b/sysdeps/generic/bits/posix_opt.h
index 54f5a79..54f5a79 100644
--- a/sysdeps/stub/bits/posix_opt.h
+++ b/sysdeps/generic/bits/posix_opt.h
diff --git a/sysdeps/stub/bits/sem.h b/sysdeps/generic/bits/sem.h
index 1d3e41b..1d3e41b 100644
--- a/sysdeps/stub/bits/sem.h
+++ b/sysdeps/generic/bits/sem.h
diff --git a/sysdeps/stub/bits/setjmp.h b/sysdeps/generic/bits/setjmp.h
index 6620e5a..6620e5a 100644
--- a/sysdeps/stub/bits/setjmp.h
+++ b/sysdeps/generic/bits/setjmp.h
diff --git a/sysdeps/stub/bits/shm.h b/sysdeps/generic/bits/shm.h
index b41d0c1..b41d0c1 100644
--- a/sysdeps/stub/bits/shm.h
+++ b/sysdeps/generic/bits/shm.h
diff --git a/sysdeps/stub/bits/sigcontext.h b/sysdeps/generic/bits/sigcontext.h
index 46e4df8..46e4df8 100644
--- a/sysdeps/stub/bits/sigcontext.h
+++ b/sysdeps/generic/bits/sigcontext.h
diff --git a/sysdeps/stub/bits/signum.h b/sysdeps/generic/bits/signum.h
index 6b4693f..6b4693f 100644
--- a/sysdeps/stub/bits/signum.h
+++ b/sysdeps/generic/bits/signum.h
diff --git a/sysdeps/stub/bits/stat.h b/sysdeps/generic/bits/stat.h
index dab0cd0..dab0cd0 100644
--- a/sysdeps/stub/bits/stat.h
+++ b/sysdeps/generic/bits/stat.h
diff --git a/sysdeps/stub/bits/stdio_lim.h b/sysdeps/generic/bits/stdio_lim.h
index ef87377..ef87377 100644
--- a/sysdeps/stub/bits/stdio_lim.h
+++ b/sysdeps/generic/bits/stdio_lim.h
diff --git a/sysdeps/stub/bits/string.h b/sysdeps/generic/bits/string.h
index ad68b03..ad68b03 100644
--- a/sysdeps/stub/bits/string.h
+++ b/sysdeps/generic/bits/string.h
diff --git a/sysdeps/stub/bits/time.h b/sysdeps/generic/bits/time.h
index e41a991..e41a991 100644
--- a/sysdeps/stub/bits/time.h
+++ b/sysdeps/generic/bits/time.h
diff --git a/sysdeps/stub/bits/waitflags.h b/sysdeps/generic/bits/waitflags.h
index 127eb6c..127eb6c 100644
--- a/sysdeps/stub/bits/waitflags.h
+++ b/sysdeps/generic/bits/waitflags.h
diff --git a/sysdeps/stub/brdinit.c b/sysdeps/generic/brdinit.c
index 35c10b4..35c10b4 100644
--- a/sysdeps/stub/brdinit.c
+++ b/sysdeps/generic/brdinit.c
diff --git a/sysdeps/stub/brk.c b/sysdeps/generic/brk.c
index 100c462..4db14f7 100644
--- a/sysdeps/stub/brk.c
+++ b/sysdeps/generic/brk.c
@@ -31,3 +31,4 @@ __brk (addr)
stub_warning (brk)
weak_alias (__brk, brk)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/bsd-_setjmp.c b/sysdeps/generic/bsd-_setjmp.c
index 97d6651..97d6651 100644
--- a/sysdeps/stub/bsd-_setjmp.c
+++ b/sysdeps/generic/bsd-_setjmp.c
diff --git a/sysdeps/stub/bsd-setjmp.c b/sysdeps/generic/bsd-setjmp.c
index d53263b..d53263b 100644
--- a/sysdeps/stub/bsd-setjmp.c
+++ b/sysdeps/generic/bsd-setjmp.c
diff --git a/sysdeps/stub/chdir.c b/sysdeps/generic/chdir.c
index 2ff9c71..963885b 100644
--- a/sysdeps/stub/chdir.c
+++ b/sysdeps/generic/chdir.c
@@ -37,3 +37,4 @@ __chdir (path)
stub_warning (chdir)
weak_alias (__chdir, chdir)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/chflags.c b/sysdeps/generic/chflags.c
index 267dede..bf2a283 100644
--- a/sysdeps/stub/chflags.c
+++ b/sysdeps/generic/chflags.c
@@ -40,3 +40,4 @@ chflags (file, flags)
}
stub_warning (chflags)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/chmod.c b/sysdeps/generic/chmod.c
index 5906a6f..3e76c93 100644
--- a/sysdeps/stub/chmod.c
+++ b/sysdeps/generic/chmod.c
@@ -39,3 +39,4 @@ __chmod (file, mode)
stub_warning (chmod)
weak_alias (__chmod, chmod)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/chown.c b/sysdeps/generic/chown.c
index f92e536..62753e0 100644
--- a/sysdeps/stub/chown.c
+++ b/sysdeps/generic/chown.c
@@ -40,3 +40,4 @@ __chown (file, owner, group)
stub_warning (chown)
weak_alias (__chown, chown)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/chroot.c b/sysdeps/generic/chroot.c
index 9c8daae..1852c08 100644
--- a/sysdeps/stub/chroot.c
+++ b/sysdeps/generic/chroot.c
@@ -31,3 +31,4 @@ chroot (path)
stub_warning (chroot)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/clock.c b/sysdeps/generic/clock.c
index ae9e657..ac0dc46 100644
--- a/sysdeps/stub/clock.c
+++ b/sysdeps/generic/clock.c
@@ -29,3 +29,4 @@ clock ()
}
stub_warning (clock)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/close.c b/sysdeps/generic/close.c
index ed96206..4e78ca1 100644
--- a/sysdeps/stub/close.c
+++ b/sysdeps/generic/close.c
@@ -36,3 +36,4 @@ __close (fd)
stub_warning (close)
weak_alias (__close, close)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/closedir.c b/sysdeps/generic/closedir.c
index 2f0edca..77e9a69 100644
--- a/sysdeps/stub/closedir.c
+++ b/sysdeps/generic/closedir.c
@@ -32,3 +32,4 @@ __closedir (DIR *dirp)
weak_alias (__closedir, closedir)
stub_warning (closedir)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/confstr.h b/sysdeps/generic/confstr.h
index 988ec88..988ec88 100644
--- a/sysdeps/stub/confstr.h
+++ b/sysdeps/generic/confstr.h
diff --git a/sysdeps/stub/connect.c b/sysdeps/generic/connect.c
index fb8b503..cbea96a 100644
--- a/sysdeps/stub/connect.c
+++ b/sysdeps/generic/connect.c
@@ -35,3 +35,4 @@ __connect (fd, addr, len)
weak_alias (__connect, connect)
stub_warning (connect)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/console.c b/sysdeps/generic/console.c
index d48455b..d48455b 100644
--- a/sysdeps/stub/console.c
+++ b/sysdeps/generic/console.c
diff --git a/sysdeps/stub/ctermid.c b/sysdeps/generic/ctermid.c
index c6e8e5f..589ccfe 100644
--- a/sysdeps/stub/ctermid.c
+++ b/sysdeps/generic/ctermid.c
@@ -33,3 +33,4 @@ ctermid (s)
stub_warning (ctermid)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/cuserid.c b/sysdeps/generic/cuserid.c
index 3ddce3d..1d9d17c 100644
--- a/sysdeps/stub/cuserid.c
+++ b/sysdeps/generic/cuserid.c
@@ -32,3 +32,4 @@ cuserid (s)
stub_warning (cuserid)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/dbl2mpn.c b/sysdeps/generic/dbl2mpn.c
index 6d01261..6d01261 100644
--- a/sysdeps/stub/dbl2mpn.c
+++ b/sysdeps/generic/dbl2mpn.c
diff --git a/sysdeps/stub/defs.c b/sysdeps/generic/defs.c
index 3d4abea..3d4abea 100644
--- a/sysdeps/stub/defs.c
+++ b/sysdeps/generic/defs.c
diff --git a/sysdeps/stub/des_impl.c b/sysdeps/generic/des_impl.c
index b6a4a8e..e0a3af9 100644
--- a/sysdeps/stub/des_impl.c
+++ b/sysdeps/generic/des_impl.c
@@ -25,3 +25,4 @@ _des_crypt (char *buf, unsigned len, struct desparams *desp)
}
stub_warning (_des_crypt)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/dirfd.c b/sysdeps/generic/dirfd.c
index 767bc21..a3f07a6 100644
--- a/sysdeps/stub/dirfd.c
+++ b/sysdeps/generic/dirfd.c
@@ -30,3 +30,4 @@ dirfd (dirp)
}
stub_warning (dirfd)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/dirstream.h b/sysdeps/generic/dirstream.h
index cb1e784..cb1e784 100644
--- a/sysdeps/stub/dirstream.h
+++ b/sysdeps/generic/dirstream.h
diff --git a/sysdeps/stub/dl-machine.h b/sysdeps/generic/dl-machine.h
index f787df3..f787df3 100644
--- a/sysdeps/stub/dl-machine.h
+++ b/sysdeps/generic/dl-machine.h
diff --git a/sysdeps/stub/dup.c b/sysdeps/generic/dup.c
index 2f433c6..95fe18b 100644
--- a/sysdeps/stub/dup.c
+++ b/sysdeps/generic/dup.c
@@ -31,3 +31,4 @@ __dup (fd)
stub_warning (dup)
weak_alias (__dup, dup)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/dup2.c b/sysdeps/generic/dup2.c
index 88f4fbf..ded80d3 100644
--- a/sysdeps/stub/dup2.c
+++ b/sysdeps/generic/dup2.c
@@ -44,3 +44,4 @@ __dup2 (fd, fd2)
stub_warning (dup2)
weak_alias (__dup2, dup2)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/e_acoshl.c b/sysdeps/generic/e_acoshl.c
index 3383c14..2c7e8ca 100644
--- a/sysdeps/stub/e_acoshl.c
+++ b/sysdeps/generic/e_acoshl.c
@@ -11,3 +11,4 @@ __ieee754_acoshl (long double x)
}
stub_warning (__ieee754_acoshl)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/e_acosl.c b/sysdeps/generic/e_acosl.c
index af1e626..f7ee70d 100644
--- a/sysdeps/stub/e_acosl.c
+++ b/sysdeps/generic/e_acosl.c
@@ -11,3 +11,4 @@ __ieee754_acosl (long double x)
}
stub_warning (__ieee754_acosl)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/e_asinl.c b/sysdeps/generic/e_asinl.c
index ce8c8cd..271a375 100644
--- a/sysdeps/stub/e_asinl.c
+++ b/sysdeps/generic/e_asinl.c
@@ -11,3 +11,4 @@ __ieee754_asinl (long double x)
}
stub_warning (__ieee754_asinl)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/e_atan2l.c b/sysdeps/generic/e_atan2l.c
index 6c500d4..00d43d9 100644
--- a/sysdeps/stub/e_atan2l.c
+++ b/sysdeps/generic/e_atan2l.c
@@ -11,3 +11,4 @@ __ieee754_atan2l (long double x, long double y)
}
stub_warning (__ieee754_atan2l)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/e_expl.c b/sysdeps/generic/e_expl.c
index 4ea8c79..9d6a4bd 100644
--- a/sysdeps/stub/e_expl.c
+++ b/sysdeps/generic/e_expl.c
@@ -11,3 +11,4 @@ __ieee754_expl (long double x)
}
stub_warning (__ieee754_expl)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/e_fmodl.c b/sysdeps/generic/e_fmodl.c
index 25cc114..950ba08 100644
--- a/sysdeps/stub/e_fmodl.c
+++ b/sysdeps/generic/e_fmodl.c
@@ -11,3 +11,4 @@ __ieee754_fmodl (long double x, long double y)
}
stub_warning (__ieee754_fmodl)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/e_j0l.c b/sysdeps/generic/e_j0l.c
index ecb8a8e..1e36bf7 100644
--- a/sysdeps/stub/e_j0l.c
+++ b/sysdeps/generic/e_j0l.c
@@ -21,3 +21,4 @@ __ieee754_y0l (long double x)
}
stub_warning (__ieee754_y0l)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/e_j1l.c b/sysdeps/generic/e_j1l.c
index 2465570..a1d30e2 100644
--- a/sysdeps/stub/e_j1l.c
+++ b/sysdeps/generic/e_j1l.c
@@ -21,3 +21,4 @@ __ieee754_y1l (long double x)
}
stub_warning (__ieee754_y1l)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/e_jnl.c b/sysdeps/generic/e_jnl.c
index 8ced34d..78915ec 100644
--- a/sysdeps/stub/e_jnl.c
+++ b/sysdeps/generic/e_jnl.c
@@ -21,3 +21,4 @@ __ieee754_ynl (int n, long double x)
}
stub_warning (__ieee754_ynl)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/e_lgammal_r.c b/sysdeps/generic/e_lgammal_r.c
index d7fbbca..bba92bb 100644
--- a/sysdeps/stub/e_lgammal_r.c
+++ b/sysdeps/generic/e_lgammal_r.c
@@ -11,3 +11,4 @@ __ieee754_lgammal_r (long double x, int *signgamp)
}
stub_warning (__ieee754_lgammal_r)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/e_log10l.c b/sysdeps/generic/e_log10l.c
index a414d04..fef3103 100644
--- a/sysdeps/stub/e_log10l.c
+++ b/sysdeps/generic/e_log10l.c
@@ -11,3 +11,4 @@ __ieee754_log10l (long double x)
}
stub_warning (__ieee754_log10l)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/e_logl.c b/sysdeps/generic/e_logl.c
index 45248a3..3fe7a48 100644
--- a/sysdeps/stub/e_logl.c
+++ b/sysdeps/generic/e_logl.c
@@ -11,3 +11,4 @@ __ieee754_logl (long double x)
}
stub_warning (__ieee754_logl)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/e_powl.c b/sysdeps/generic/e_powl.c
index 611dfb5..96ec539 100644
--- a/sysdeps/stub/e_powl.c
+++ b/sysdeps/generic/e_powl.c
@@ -11,3 +11,4 @@ __ieee754_powl (long double x, long double y)
}
stub_warning (__ieee754_powl)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/e_rem_pio2l.c b/sysdeps/generic/e_rem_pio2l.c
index eec7d79..847f5f9 100644
--- a/sysdeps/stub/e_rem_pio2l.c
+++ b/sysdeps/generic/e_rem_pio2l.c
@@ -11,3 +11,4 @@ __ieee754_rem_pio2l (long double x, long double *y)
}
stub_warning (__ieee754_rem_pio2l)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/e_sqrtl.c b/sysdeps/generic/e_sqrtl.c
index c583a27..d538080 100644
--- a/sysdeps/stub/e_sqrtl.c
+++ b/sysdeps/generic/e_sqrtl.c
@@ -11,3 +11,4 @@ __ieee754_sqrtl (long double x)
}
stub_warning (__ieee754_sqrtl)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/errlist.c b/sysdeps/generic/errlist.c
index 65c9437..65c9437 100644
--- a/sysdeps/stub/errlist.c
+++ b/sysdeps/generic/errlist.c
diff --git a/sysdeps/stub/euidaccess.c b/sysdeps/generic/euidaccess.c
index f11c74b..825c152 100644
--- a/sysdeps/stub/euidaccess.c
+++ b/sysdeps/generic/euidaccess.c
@@ -37,3 +37,4 @@ __euidaccess (file, type)
}
weak_alias (__euidaccess, euidaccess)
stub_warning (euidaccess)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/exc2signal.c b/sysdeps/generic/exc2signal.c
index c9b58cd..c9b58cd 100644
--- a/sysdeps/stub/exc2signal.c
+++ b/sysdeps/generic/exc2signal.c
diff --git a/sysdeps/stub/execve.c b/sysdeps/generic/execve.c
index c57fb92..fa708c3 100644
--- a/sysdeps/stub/execve.c
+++ b/sysdeps/generic/execve.c
@@ -41,3 +41,4 @@ __execve (path, argv, envp)
stub_warning (execve)
weak_alias (__execve, execve)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fchdir.c b/sysdeps/generic/fchdir.c
index b18dcc7..9a6a9dc 100644
--- a/sysdeps/stub/fchdir.c
+++ b/sysdeps/generic/fchdir.c
@@ -30,3 +30,4 @@ fchdir (fd)
}
stub_warning (fchdir)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fchflags.c b/sysdeps/generic/fchflags.c
index 5a477e7..befca38bd 100644
--- a/sysdeps/stub/fchflags.c
+++ b/sysdeps/generic/fchflags.c
@@ -40,3 +40,4 @@ fchflags (fd, flags)
}
stub_warning (fchflags)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fchmod.c b/sysdeps/generic/fchmod.c
index eba768f..81b1e42 100644
--- a/sysdeps/stub/fchmod.c
+++ b/sysdeps/generic/fchmod.c
@@ -39,3 +39,4 @@ __fchmod (fd, mode)
stub_warning (fchmod)
weak_alias (__fchmod, fchmod)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fchown.c b/sysdeps/generic/fchown.c
index 60b16aa..d504dd4 100644
--- a/sysdeps/stub/fchown.c
+++ b/sysdeps/generic/fchown.c
@@ -40,3 +40,4 @@ __fchown (fd, owner, group)
stub_warning (fchown)
weak_alias (__fchown, fchown)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fclrexcpt.c b/sysdeps/generic/fclrexcpt.c
index 50373e0..c760e54 100644
--- a/sysdeps/stub/fclrexcpt.c
+++ b/sysdeps/generic/fclrexcpt.c
@@ -25,3 +25,4 @@ feclearexcept (int excepts)
{
}
stub_warning (feclearexcept)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fcntl.c b/sysdeps/generic/fcntl.c
index 2c63a2d..718e326 100644
--- a/sysdeps/stub/fcntl.c
+++ b/sysdeps/generic/fcntl.c
@@ -37,3 +37,4 @@ __fcntl (fd, cmd)
stub_warning (fcntl)
weak_alias (__fcntl, fcntl)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fdopen.c b/sysdeps/generic/fdopen.c
index 9cb12ea..c7d7f55 100644
--- a/sysdeps/stub/fdopen.c
+++ b/sysdeps/generic/fdopen.c
@@ -30,3 +30,4 @@ fdopen (fd, mode)
}
stub_warning (fdopen)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fegetenv.c b/sysdeps/generic/fegetenv.c
index 5d10d84..4afe17a 100644
--- a/sysdeps/stub/fegetenv.c
+++ b/sysdeps/generic/fegetenv.c
@@ -25,3 +25,4 @@ fegetenv (fenv_t *envp)
{
}
stub_warning (fegetenv)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fegetround.c b/sysdeps/generic/fegetround.c
index db673c8..60b2594 100644
--- a/sysdeps/stub/fegetround.c
+++ b/sysdeps/generic/fegetround.c
@@ -26,3 +26,4 @@ fegetround (void)
return 0;
}
stub_warning (fegetround)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/feholdexcpt.c b/sysdeps/generic/feholdexcpt.c
index c52dbcf..5cc9b38 100644
--- a/sysdeps/stub/feholdexcpt.c
+++ b/sysdeps/generic/feholdexcpt.c
@@ -26,3 +26,4 @@ feholdexcept (fenv_t *envp)
return 0; /* Signal failure. */
}
stub_warning (feholdexcept)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fesetenv.c b/sysdeps/generic/fesetenv.c
index 57cad7c..9161949 100644
--- a/sysdeps/stub/fesetenv.c
+++ b/sysdeps/generic/fesetenv.c
@@ -25,3 +25,4 @@ fesetenv (const fenv_t *envp)
{
}
stub_warning (fesetenv)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fesetround.c b/sysdeps/generic/fesetround.c
index ed1d20f..cd77a76 100644
--- a/sysdeps/stub/fesetround.c
+++ b/sysdeps/generic/fesetround.c
@@ -26,3 +26,4 @@ fesetround (int round)
return 0; /* Signal we are unable to set the direction. */
}
stub_warning (fesetround)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/feupdateenv.c b/sysdeps/generic/feupdateenv.c
index 2e9c8fd..cc6f59d 100644
--- a/sysdeps/stub/feupdateenv.c
+++ b/sysdeps/generic/feupdateenv.c
@@ -25,3 +25,4 @@ feupdateenv (const fenv_t *envp)
{
}
stub_warning (feupdateenv)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fexecve.c b/sysdeps/generic/fexecve.c
index eddbe24..f2ea896 100644
--- a/sysdeps/stub/fexecve.c
+++ b/sysdeps/generic/fexecve.c
@@ -40,3 +40,4 @@ fexecve (fd, argv, envp)
}
stub_warning (fexecve)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fgetexcptflg.c b/sysdeps/generic/fgetexcptflg.c
index 18beff4..94f36f7 100644
--- a/sysdeps/stub/fgetexcptflg.c
+++ b/sysdeps/generic/fgetexcptflg.c
@@ -25,3 +25,4 @@ fegetexceptflag (fexcept_t *flagp, int excepts)
{
}
stub_warning (fegetexceptflag)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/flock.c b/sysdeps/generic/flock.c
index e070138..b096637 100644
--- a/sysdeps/stub/flock.c
+++ b/sysdeps/generic/flock.c
@@ -33,3 +33,4 @@ __flock (fd, operation)
weak_alias (__flock, flock)
stub_warning (flock)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fork.c b/sysdeps/generic/fork.c
index a7f4e5d..06a3235 100644
--- a/sysdeps/stub/fork.c
+++ b/sysdeps/generic/fork.c
@@ -32,3 +32,4 @@ __fork ()
stub_warning (fork)
weak_alias (__fork, fork)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fpathconf.c b/sysdeps/generic/fpathconf.c
index 705f755..761e5c2 100644
--- a/sysdeps/stub/fpathconf.c
+++ b/sysdeps/generic/fpathconf.c
@@ -59,3 +59,4 @@ __fpathconf (fd, name)
weak_alias (__fpathconf, fpathconf)
stub_warning (fpathconf)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fpu_control.h b/sysdeps/generic/fpu_control.h
index e91638d..e91638d 100644
--- a/sysdeps/stub/fpu_control.h
+++ b/sysdeps/generic/fpu_control.h
diff --git a/sysdeps/stub/fraiseexcpt.c b/sysdeps/generic/fraiseexcpt.c
index b03192c..5f24782 100644
--- a/sysdeps/stub/fraiseexcpt.c
+++ b/sysdeps/generic/fraiseexcpt.c
@@ -25,3 +25,4 @@ feraiseexcept (int excepts)
{
}
stub_warning (feraiseexcept)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fsetexcptflg.c b/sysdeps/generic/fsetexcptflg.c
index e352244..b3a6375 100644
--- a/sysdeps/stub/fsetexcptflg.c
+++ b/sysdeps/generic/fsetexcptflg.c
@@ -25,3 +25,4 @@ fesetexceptflag (const fexcept_t *flagp, int excepts)
{
}
stub_warning (fesetexceptflag)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fstatfs.c b/sysdeps/generic/fstatfs.c
index e7c40d8..e716e18 100644
--- a/sysdeps/stub/fstatfs.c
+++ b/sysdeps/generic/fstatfs.c
@@ -31,3 +31,4 @@ __fstatfs (int fd, struct statfs *buf)
stub_warning (fstatfs)
weak_alias (__fstatfs, fstatfs)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fstatfs64.c b/sysdeps/generic/fstatfs64.c
index b2dba0f..99a2452 100644
--- a/sysdeps/stub/fstatfs64.c
+++ b/sysdeps/generic/fstatfs64.c
@@ -29,3 +29,4 @@ fstatfs64 (int fd, struct statfs64 *buf)
return -1;
}
stub_warning (fstatfs64)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fsync.c b/sysdeps/generic/fsync.c
index d268adc..9177cf8 100644
--- a/sysdeps/stub/fsync.c
+++ b/sysdeps/generic/fsync.c
@@ -30,3 +30,4 @@ fsync (fd)
stub_warning (fsync)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/ftestexcept.c b/sysdeps/generic/ftestexcept.c
index 7227c21..c964790 100644
--- a/sysdeps/stub/ftestexcept.c
+++ b/sysdeps/generic/ftestexcept.c
@@ -26,3 +26,4 @@ fetestexcept (int excepts)
return 0;
}
stub_warning (fetestexcept)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/ftruncate.c b/sysdeps/generic/ftruncate.c
index c84ed4a..8e067ac 100644
--- a/sysdeps/stub/ftruncate.c
+++ b/sysdeps/generic/ftruncate.c
@@ -31,3 +31,4 @@ ftruncate (fd, length)
}
stub_warning (ftruncate)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fxstat.c b/sysdeps/generic/fxstat.c
index 0110c5f..b070b86 100644
--- a/sysdeps/stub/fxstat.c
+++ b/sysdeps/generic/fxstat.c
@@ -47,3 +47,4 @@ __fxstat (int vers, int fd, struct stat *buf)
stub_warning (fstat)
weak_alias (__fxstat, _fxstat)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/fxstat64.c b/sysdeps/generic/fxstat64.c
index 93ec312..c8da8a4 100644
--- a/sysdeps/stub/fxstat64.c
+++ b/sysdeps/generic/fxstat64.c
@@ -45,3 +45,4 @@ __fxstat64 (int vers, int fd, struct stat64 *buf)
return -1;
}
stub_warning (fstat64)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/gai_strerror.c b/sysdeps/generic/gai_strerror.c
index b63f0e2..b63f0e2 100644
--- a/sysdeps/stub/gai_strerror.c
+++ b/sysdeps/generic/gai_strerror.c
diff --git a/sysdeps/stub/getaddrinfo.c b/sysdeps/generic/getaddrinfo.c
index 5b8bb0e..c099723 100644
--- a/sysdeps/stub/getaddrinfo.c
+++ b/sysdeps/generic/getaddrinfo.c
@@ -36,3 +36,4 @@ freeaddrinfo (struct addrinfo *ai)
/* Nothing. */
}
stub_warning (freeaddrinfo)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getcwd.c b/sysdeps/generic/getcwd.c
index 1ba732e..6df4a08 100644
--- a/sysdeps/stub/getcwd.c
+++ b/sysdeps/generic/getcwd.c
@@ -37,3 +37,4 @@ weak_alias (__getcwd, getcwd)
stub_warning (__getcwd)
stub_warning (getcwd)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getdents.c b/sysdeps/generic/getdents.c
index 652eda2..06a6c03 100644
--- a/sysdeps/stub/getdents.c
+++ b/sysdeps/generic/getdents.c
@@ -34,3 +34,4 @@ __getdirentries (fd, buf, nbytes, basep)
weak_alias (__getdirentries, getdirentries)
stub_warning (getdirentries)
+#include <stub-tag.h>
diff --git a/sysdeps/generic/getdomain.c b/sysdeps/generic/getdomain.c
index ab9cbd4..250aec6 100644
--- a/sysdeps/generic/getdomain.c
+++ b/sysdeps/generic/getdomain.c
@@ -54,5 +54,6 @@ getdomainname (name, len)
}
stub_warning (getdomainname)
+#include <stub-tag.h>
#endif
diff --git a/sysdeps/stub/getdtsz.c b/sysdeps/generic/getdtsz.c
index 41b342f..a4eb784 100644
--- a/sysdeps/stub/getdtsz.c
+++ b/sysdeps/generic/getdtsz.c
@@ -30,3 +30,4 @@ __getdtablesize ()
stub_warning (getdtablesize)
weak_alias (__getdtablesize, getdtablesize)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getegid.c b/sysdeps/generic/getegid.c
index f817b4c..2b9b903 100644
--- a/sysdeps/stub/getegid.c
+++ b/sysdeps/generic/getegid.c
@@ -29,3 +29,4 @@ __getegid ()
stub_warning (getegid)
weak_alias (__getegid, getegid)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/geteuid.c b/sysdeps/generic/geteuid.c
index 6858a94..0a89417 100644
--- a/sysdeps/stub/geteuid.c
+++ b/sysdeps/generic/geteuid.c
@@ -30,3 +30,4 @@ __geteuid ()
stub_warning (geteuid)
weak_alias (__geteuid, geteuid)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getgid.c b/sysdeps/generic/getgid.c
index 3d90c3a..d87aea1 100644
--- a/sysdeps/stub/getgid.c
+++ b/sysdeps/generic/getgid.c
@@ -30,3 +30,4 @@ __getgid ()
stub_warning (getgid)
weak_alias (__getgid, getgid)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getgroups.c b/sysdeps/generic/getgroups.c
index 6054bc3..ae11496 100644
--- a/sysdeps/stub/getgroups.c
+++ b/sysdeps/generic/getgroups.c
@@ -45,3 +45,4 @@ stub_warning (getgroups);
#endif
weak_alias (__getgroups, getgroups)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/gethostid.c b/sysdeps/generic/gethostid.c
index 47db79f..96bb3ea 100644
--- a/sysdeps/stub/gethostid.c
+++ b/sysdeps/generic/gethostid.c
@@ -29,3 +29,4 @@ gethostid ()
stub_warning (gethostid)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/gethostname.c b/sysdeps/generic/gethostname.c
index 93afd35..ad09b00 100644
--- a/sysdeps/stub/gethostname.c
+++ b/sysdeps/generic/gethostname.c
@@ -33,3 +33,4 @@ __gethostname (name, len)
stub_warning (gethostname)
weak_alias (__gethostname, gethostname)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getitimer.c b/sysdeps/generic/getitimer.c
index 2c852e7..5f4f258 100644
--- a/sysdeps/stub/getitimer.c
+++ b/sysdeps/generic/getitimer.c
@@ -39,3 +39,4 @@ __getitimer (which, value)
stub_warning (getitimer)
weak_alias (__getitimer, getitimer)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getlogin.c b/sysdeps/generic/getlogin.c
index 34acbc3..248d040 100644
--- a/sysdeps/stub/getlogin.c
+++ b/sysdeps/generic/getlogin.c
@@ -30,3 +30,4 @@ getlogin (void)
}
stub_warning (getlogin)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getlogin_r.c b/sysdeps/generic/getlogin_r.c
index 1b6145c..7d40c1a 100644
--- a/sysdeps/stub/getlogin_r.c
+++ b/sysdeps/generic/getlogin_r.c
@@ -33,3 +33,4 @@ getlogin_r (name, name_len)
}
stub_warning (getlogin_r)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getpagesize.c b/sysdeps/generic/getpagesize.c
index 363151b..2289b97 100644
--- a/sysdeps/stub/getpagesize.c
+++ b/sysdeps/generic/getpagesize.c
@@ -29,3 +29,4 @@ __getpagesize ()
stub_warning (getpagesize)
weak_alias (__getpagesize, getpagesize)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getpeername.c b/sysdeps/generic/getpeername.c
index 5d513ac..bd38cb4 100644
--- a/sysdeps/stub/getpeername.c
+++ b/sysdeps/generic/getpeername.c
@@ -33,3 +33,4 @@ getpeername (fd, addr, len)
stub_warning (getpeername)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getpgid.c b/sysdeps/generic/getpgid.c
index 5de37f3..7423e11 100644
--- a/sysdeps/stub/getpgid.c
+++ b/sysdeps/generic/getpgid.c
@@ -29,3 +29,4 @@ __getpgid (pid)
weak_alias (__getpgid, getpgid)
stub_warning (getpgid)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getpid.c b/sysdeps/generic/getpid.c
index e8baf26..8b2fb9c 100644
--- a/sysdeps/stub/getpid.c
+++ b/sysdeps/generic/getpid.c
@@ -30,3 +30,4 @@ __getpid ()
stub_warning (getpid)
weak_alias (__getpid, getpid)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getppid.c b/sysdeps/generic/getppid.c
index e9e4fff..f05b6ca 100644
--- a/sysdeps/stub/getppid.c
+++ b/sysdeps/generic/getppid.c
@@ -30,3 +30,4 @@ __getppid ()
stub_warning (getppid)
weak_alias (__getppid, getppid)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getpriority.c b/sysdeps/generic/getpriority.c
index a2dd7cb..ce9eb59 100644
--- a/sysdeps/stub/getpriority.c
+++ b/sysdeps/generic/getpriority.c
@@ -33,3 +33,4 @@ getpriority (which, who)
}
stub_warning (getpriority)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getrlimit.c b/sysdeps/generic/getrlimit.c
index 06f3eb9..c283f77 100644
--- a/sysdeps/stub/getrlimit.c
+++ b/sysdeps/generic/getrlimit.c
@@ -30,3 +30,4 @@ __getrlimit (enum __rlimit_resource resource, struct rlimit *rlimits)
weak_alias (__getrlimit, getrlimit)
stub_warning (getrlimit)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getrlimit64.c b/sysdeps/generic/getrlimit64.c
index 6f12cad..6c581ed 100644
--- a/sysdeps/stub/getrlimit64.c
+++ b/sysdeps/generic/getrlimit64.c
@@ -29,3 +29,4 @@ getrlimit64 (enum __rlimit_resource resource, struct rlimit64 *rlimits)
}
stub_warning (getrlimit64)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getrusage.c b/sysdeps/generic/getrusage.c
index 1db5d08..a6f0e67 100644
--- a/sysdeps/stub/getrusage.c
+++ b/sysdeps/generic/getrusage.c
@@ -32,3 +32,4 @@ __getrusage (who, usage)
stub_warning (getrusage)
weak_alias (__getrusage, getrusage)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getsid.c b/sysdeps/generic/getsid.c
index 5c65311..11efbf6 100644
--- a/sysdeps/stub/getsid.c
+++ b/sysdeps/generic/getsid.c
@@ -28,3 +28,4 @@ getsid (pid_t pid)
return (pid_t) -1;
}
stub_warning (getsid)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getsockname.c b/sysdeps/generic/getsockname.c
index f0d46db..37095ff 100644
--- a/sysdeps/stub/getsockname.c
+++ b/sysdeps/generic/getsockname.c
@@ -32,3 +32,4 @@ getsockname (fd, addr, len)
stub_warning (getsockname)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getsockopt.c b/sysdeps/generic/getsockopt.c
index 6f3c866..0b151bd 100644
--- a/sysdeps/stub/getsockopt.c
+++ b/sysdeps/generic/getsockopt.c
@@ -35,3 +35,4 @@ getsockopt (fd, level, optname, optval, optlen)
}
stub_warning (getsockopt)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getsysstats.c b/sysdeps/generic/getsysstats.c
index 0b5dfab..d43a86a 100644
--- a/sysdeps/stub/getsysstats.c
+++ b/sysdeps/generic/getsysstats.c
@@ -66,3 +66,4 @@ __get_avphys_pages ()
weak_alias (__get_avphys_pages, get_avphys_pages)
stub_warning (get_avphys_pages)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/gettimeofday.c b/sysdeps/generic/gettimeofday.c
index de26242..ff7689d 100644
--- a/sysdeps/stub/gettimeofday.c
+++ b/sysdeps/generic/gettimeofday.c
@@ -33,3 +33,4 @@ __gettimeofday (tv, tz)
stub_warning (gettimeofday)
weak_alias (__gettimeofday, gettimeofday)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/getuid.c b/sysdeps/generic/getuid.c
index 2afb967..37afc6f 100644
--- a/sysdeps/stub/getuid.c
+++ b/sysdeps/generic/getuid.c
@@ -30,3 +30,4 @@ __getuid ()
stub_warning (getuid)
weak_alias (__getuid, getuid)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/gtty.c b/sysdeps/generic/gtty.c
index 8d89c13..3505b9f 100644
--- a/sysdeps/stub/gtty.c
+++ b/sysdeps/generic/gtty.c
@@ -37,3 +37,4 @@ gtty (fd, params)
}
stub_warning (gtty)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/if_index.c b/sysdeps/generic/if_index.c
index ca859f7..c7022d8 100644
--- a/sysdeps/stub/if_index.c
+++ b/sysdeps/generic/if_index.c
@@ -49,3 +49,4 @@ if_nameindex (void)
return NULL;
}
stub_warning (if_nameindex)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/init-first.c b/sysdeps/generic/init-first.c
index dacefdc..dacefdc 100644
--- a/sysdeps/stub/init-first.c
+++ b/sysdeps/generic/init-first.c
diff --git a/sysdeps/stub/init-posix.c b/sysdeps/generic/init-posix.c
index 8e37bb6..8e37bb6 100644
--- a/sysdeps/stub/init-posix.c
+++ b/sysdeps/generic/init-posix.c
diff --git a/sysdeps/stub/intr-msg.h b/sysdeps/generic/intr-msg.h
index 0186aa3..0186aa3 100644
--- a/sysdeps/stub/intr-msg.h
+++ b/sysdeps/generic/intr-msg.h
diff --git a/sysdeps/stub/ioctl.c b/sysdeps/generic/ioctl.c
index c7e0d31..019fb0e 100644
--- a/sysdeps/stub/ioctl.c
+++ b/sysdeps/generic/ioctl.c
@@ -32,3 +32,4 @@ __ioctl (fd, request)
stub_warning (ioctl)
weak_alias (__ioctl, ioctl)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/isatty.c b/sysdeps/generic/isatty.c
index f5332f1..824d09b 100644
--- a/sysdeps/stub/isatty.c
+++ b/sysdeps/generic/isatty.c
@@ -31,3 +31,4 @@ __isatty (fd)
weak_alias (__isatty, isatty)
stub_warning (isatty)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/isfdtype.c b/sysdeps/generic/isfdtype.c
index 395a931..0d22a93 100644
--- a/sysdeps/stub/isfdtype.c
+++ b/sysdeps/generic/isfdtype.c
@@ -28,3 +28,4 @@ isfdtype (int fildes, int fdtype)
return -1;
}
stub_warning (isfdtype)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/jmp-unwind.c b/sysdeps/generic/jmp-unwind.c
index 083dc74..083dc74 100644
--- a/sysdeps/stub/jmp-unwind.c
+++ b/sysdeps/generic/jmp-unwind.c
diff --git a/sysdeps/stub/k_cosl.c b/sysdeps/generic/k_cosl.c
index 10016ab..61af337 100644
--- a/sysdeps/stub/k_cosl.c
+++ b/sysdeps/generic/k_cosl.c
@@ -11,3 +11,4 @@ __kernel_cosl (long double x, long double y)
}
stub_warning (__kernel_cosl)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/k_rem_pio2l.c b/sysdeps/generic/k_rem_pio2l.c
index 01bf158..236eb30 100644
--- a/sysdeps/stub/k_rem_pio2l.c
+++ b/sysdeps/generic/k_rem_pio2l.c
@@ -13,3 +13,4 @@ __kernel_rem_pio2l (long double *x, long double *y, int e0, int nx, int prec,
}
stub_warning (__kernel_rem_pio2l)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/k_sinl.c b/sysdeps/generic/k_sinl.c
index 40cf22a..07dddce 100644
--- a/sysdeps/stub/k_sinl.c
+++ b/sysdeps/generic/k_sinl.c
@@ -11,3 +11,4 @@ __kernel_sinl (long double x, long double y)
}
stub_warning (__kernel_sinl)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/k_tanl.c b/sysdeps/generic/k_tanl.c
index 95ffc23..1504a1c 100644
--- a/sysdeps/stub/k_tanl.c
+++ b/sysdeps/generic/k_tanl.c
@@ -11,3 +11,4 @@ __kernel_tanl (long double x, long double y, int iy)
}
stub_warning (__kernel_tanl)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/kill.c b/sysdeps/generic/kill.c
index 9993d19..0d035d4 100644
--- a/sysdeps/stub/kill.c
+++ b/sysdeps/generic/kill.c
@@ -34,3 +34,4 @@ __kill (pid, sig)
stub_warning (kill)
weak_alias (__kill, kill)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/killpg.c b/sysdeps/generic/killpg.c
index 91a62ee..b9c8b8c 100644
--- a/sysdeps/stub/killpg.c
+++ b/sysdeps/generic/killpg.c
@@ -33,3 +33,4 @@ killpg (pgrp, sig)
}
stub_warning (killpg)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/lchown.c b/sysdeps/generic/lchown.c
index f3aa2a1..e428798 100644
--- a/sysdeps/stub/lchown.c
+++ b/sysdeps/generic/lchown.c
@@ -40,3 +40,4 @@ __lchown (file, owner, group)
stub_warning (lchown)
weak_alias (__lchown, lchown)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/ldbl2mpn.c b/sysdeps/generic/ldbl2mpn.c
index e456d59..e456d59 100644
--- a/sysdeps/stub/ldbl2mpn.c
+++ b/sysdeps/generic/ldbl2mpn.c
diff --git a/sysdeps/stub/libc_fatal.c b/sysdeps/generic/libc_fatal.c
index a5489ed..a5489ed 100644
--- a/sysdeps/stub/libc_fatal.c
+++ b/sysdeps/generic/libc_fatal.c
diff --git a/sysdeps/stub/link.c b/sysdeps/generic/link.c
index 213dcdf..6d55a74 100644
--- a/sysdeps/stub/link.c
+++ b/sysdeps/generic/link.c
@@ -39,3 +39,4 @@ __link (from, to)
stub_warning (link)
weak_alias (__link, link)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/listen.c b/sysdeps/generic/listen.c
index 85fa895..3d55713 100644
--- a/sysdeps/stub/listen.c
+++ b/sysdeps/generic/listen.c
@@ -33,3 +33,4 @@ listen (fd, n)
stub_warning (listen)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/lockfile.c b/sysdeps/generic/lockfile.c
index 143e990..143e990 100644
--- a/sysdeps/stub/lockfile.c
+++ b/sysdeps/generic/lockfile.c
diff --git a/sysdeps/stub/longjmp-ts.c b/sysdeps/generic/longjmp-ts.c
index 201be7e..201be7e 100644
--- a/sysdeps/stub/longjmp-ts.c
+++ b/sysdeps/generic/longjmp-ts.c
diff --git a/sysdeps/stub/lseek.c b/sysdeps/generic/lseek.c
index 7d9e096..879b05a 100644
--- a/sysdeps/stub/lseek.c
+++ b/sysdeps/generic/lseek.c
@@ -49,3 +49,4 @@ __lseek (fd, offset, whence)
stub_warning (lseek)
weak_alias (__lseek, lseek)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/lseek64.c b/sysdeps/generic/lseek64.c
index 71d58ba..a2ffe2e 100644
--- a/sysdeps/stub/lseek64.c
+++ b/sysdeps/generic/lseek64.c
@@ -47,3 +47,4 @@ lseek64 (fd, offset, whence)
return -1;
}
stub_warning (lseek64)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/lxstat64.c b/sysdeps/generic/lxstat64.c
index 78e0b82..7916fdc 100644
--- a/sysdeps/stub/lxstat64.c
+++ b/sysdeps/generic/lxstat64.c
@@ -35,3 +35,4 @@ __lxstat64 (int vers, const char *file, struct stat64 *buf)
return -1;
}
stub_warning (lstat64)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/machine-lock.h b/sysdeps/generic/machine-lock.h
index 3776bb0..3776bb0 100644
--- a/sysdeps/stub/machine-lock.h
+++ b/sysdeps/generic/machine-lock.h
diff --git a/sysdeps/stub/machine-sp.h b/sysdeps/generic/machine-sp.h
index 6d8ad48..6d8ad48 100644
--- a/sysdeps/stub/machine-sp.h
+++ b/sysdeps/generic/machine-sp.h
diff --git a/sysdeps/stub/madvise.c b/sysdeps/generic/madvise.c
index 244be3f..5431bda 100644
--- a/sysdeps/stub/madvise.c
+++ b/sysdeps/generic/madvise.c
@@ -24,10 +24,11 @@
for the region starting at ADDR and extending LEN bytes. */
int
-madvise (caddr_t addr, size_t len, int advice)
+madvise (__ptr_t addr, size_t len, int advice)
{
__set_errno (ENOSYS);
return -1;
}
stub_warning (madvise)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/mkdir.c b/sysdeps/generic/mkdir.c
index 9a6cac5..fe6c719 100644
--- a/sysdeps/stub/mkdir.c
+++ b/sysdeps/generic/mkdir.c
@@ -40,3 +40,4 @@ __mkdir (path, mode)
stub_warning (mkdir)
weak_alias (__mkdir, mkdir)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/mkfifo.c b/sysdeps/generic/mkfifo.c
index 5404b3b..9163680 100644
--- a/sysdeps/stub/mkfifo.c
+++ b/sysdeps/generic/mkfifo.c
@@ -40,3 +40,4 @@ mkfifo (path, mode)
stub_warning (mkfifo)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/mkstemp.c b/sysdeps/generic/mkstemp.c
index ec78145..c84e8eb 100644
--- a/sysdeps/stub/mkstemp.c
+++ b/sysdeps/generic/mkstemp.c
@@ -39,3 +39,4 @@ mkstemp (template)
}
stub_warning (mkstemp)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/mktemp.c b/sysdeps/generic/mktemp.c
index 7780140..7d53f01 100644
--- a/sysdeps/stub/mktemp.c
+++ b/sysdeps/generic/mktemp.c
@@ -38,3 +38,4 @@ mktemp (template)
}
stub_warning (mktemp)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/mmap.c b/sysdeps/generic/mmap.c
index 02fb8d7..fc43c0b 100644
--- a/sysdeps/stub/mmap.c
+++ b/sysdeps/generic/mmap.c
@@ -25,16 +25,17 @@
is nonzero, it is the desired mapping address. If the MAP_FIXED bit is
set in FLAGS, the mapping will be at ADDR exactly (which must be
page-aligned); otherwise the system chooses a convenient nearby address.
- The return value is the actual mapping address chosen or (caddr_t) -1
+ The return value is the actual mapping address chosen or MAP_FAILED
for errors (in which case `errno' is set). A successful `mmap' call
deallocates any previous mapping for the affected region. */
-caddr_t
-__mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
+__ptr_t
+__mmap (__ptr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
{
__set_errno (ENOSYS);
- return (caddr_t) -1;
+ return MAP_FAILED;
}
stub_warning (mmap)
+#include <stub-tag.h>
weak_alias (__mmap, mmap)
diff --git a/sysdeps/stub/mpn2dbl.c b/sysdeps/generic/mpn2dbl.c
index 37ceab6..37ceab6 100644
--- a/sysdeps/stub/mpn2dbl.c
+++ b/sysdeps/generic/mpn2dbl.c
diff --git a/sysdeps/stub/mpn2flt.c b/sysdeps/generic/mpn2flt.c
index 53731bc..53731bc 100644
--- a/sysdeps/stub/mpn2flt.c
+++ b/sysdeps/generic/mpn2flt.c
diff --git a/sysdeps/stub/mpn2ldbl.c b/sysdeps/generic/mpn2ldbl.c
index c269ce6..c269ce6 100644
--- a/sysdeps/stub/mpn2ldbl.c
+++ b/sysdeps/generic/mpn2ldbl.c
diff --git a/sysdeps/stub/mprotect.c b/sysdeps/generic/mprotect.c
index 262fa85..d9252fe 100644
--- a/sysdeps/stub/mprotect.c
+++ b/sysdeps/generic/mprotect.c
@@ -25,7 +25,7 @@
(and sets errno). */
int
-__mprotect (caddr_t addr, size_t len, int prot)
+__mprotect (__ptr_t addr, size_t len, int prot)
{
__set_errno (ENOSYS);
return -1;
@@ -33,3 +33,4 @@ __mprotect (caddr_t addr, size_t len, int prot)
weak_alias (__mprotect, mprotect)
stub_warning (mprotect)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/msgctl.c b/sysdeps/generic/msgctl.c
index 889a1ef..8a97339 100644
--- a/sysdeps/stub/msgctl.c
+++ b/sysdeps/generic/msgctl.c
@@ -34,3 +34,4 @@ msgctl (msqid, cmd, buf)
}
stub_warning (msgctl)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/msgget.c b/sysdeps/generic/msgget.c
index 17f649e..c00804d 100644
--- a/sysdeps/stub/msgget.c
+++ b/sysdeps/generic/msgget.c
@@ -33,3 +33,4 @@ msgget (key, msgflg)
}
stub_warning (msgget)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/msgrcv.c b/sysdeps/generic/msgrcv.c
index 201c2cf..e233b6d 100644
--- a/sysdeps/stub/msgrcv.c
+++ b/sysdeps/generic/msgrcv.c
@@ -39,3 +39,4 @@ msgrcv (msqid, msgp, msgsz, msgtyp, msgflg)
}
stub_warning (msgrcv)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/msgsnd.c b/sysdeps/generic/msgsnd.c
index c7fffd7..9938952 100644
--- a/sysdeps/stub/msgsnd.c
+++ b/sysdeps/generic/msgsnd.c
@@ -38,3 +38,4 @@ msgsnd (msqid, msgp, msgsz, msgflg)
}
stub_warning (msgsnd)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/msync.c b/sysdeps/generic/msync.c
index c8cbe43..d1cb2d7 100644
--- a/sysdeps/stub/msync.c
+++ b/sysdeps/generic/msync.c
@@ -25,10 +25,11 @@
unpredictable before this is done. */
int
-msync (caddr_t addr, size_t len, int flags)
+msync (__ptr_t addr, size_t len, int flags)
{
__set_errno (ENOSYS);
return -1;
}
stub_warning (msync)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/munmap.c b/sysdeps/generic/munmap.c
index 4802a58..9c2217b 100644
--- a/sysdeps/stub/munmap.c
+++ b/sysdeps/generic/munmap.c
@@ -24,11 +24,12 @@
bytes. Returns 0 if successful, -1 for errors (and sets errno). */
int
-__munmap (caddr_t addr, size_t len)
+__munmap (__ptr_t addr, size_t len)
{
__set_errno (ENOSYS);
return -1;
}
stub_warning (munmap)
+#include <stub-tag.h>
weak_alias (__munmap, munmap)
diff --git a/sysdeps/stub/nanosleep.c b/sysdeps/generic/nanosleep.c
index 0fcbb0d..1f9704e 100644
--- a/sysdeps/stub/nanosleep.c
+++ b/sysdeps/generic/nanosleep.c
@@ -32,3 +32,4 @@ stub_warning (nanosleep)
weak_alias (__libc_nanosleep, __nanosleep)
weak_alias (__libc_nanosleep, nanosleep)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/nice.c b/sysdeps/generic/nice.c
index 1e2e6a2..f58b8c4 100644
--- a/sysdeps/stub/nice.c
+++ b/sysdeps/generic/nice.c
@@ -30,3 +30,4 @@ nice (incr)
}
stub_warning (nice)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/nlist.c b/sysdeps/generic/nlist.c
index 006c902..5d7a08e 100644
--- a/sysdeps/stub/nlist.c
+++ b/sysdeps/generic/nlist.c
@@ -40,3 +40,4 @@ nlist (file, nl)
stub_warning (nlist)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/open.c b/sysdeps/generic/open.c
index 6b38008..cd7b0e0 100644
--- a/sysdeps/stub/open.c
+++ b/sysdeps/generic/open.c
@@ -50,3 +50,4 @@ __open (file, oflag)
stub_warning (open)
weak_alias (__open, open)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/open64.c b/sysdeps/generic/open64.c
index c020d88..16e1973 100644
--- a/sysdeps/stub/open64.c
+++ b/sysdeps/generic/open64.c
@@ -50,3 +50,4 @@ __open64 (file, oflag)
weak_alias (__open64, open64)
stub_warning (open64)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/opendir.c b/sysdeps/generic/opendir.c
index fd8ad50..6b7f14e 100644
--- a/sysdeps/stub/opendir.c
+++ b/sysdeps/generic/opendir.c
@@ -31,3 +31,4 @@ __opendir (const char *name)
weak_alias (__opendir, opendir)
stub_warning (opendir)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/pathconf.c b/sysdeps/generic/pathconf.c
index 4b0c9494..b3c2c88 100644
--- a/sysdeps/stub/pathconf.c
+++ b/sysdeps/generic/pathconf.c
@@ -38,3 +38,4 @@ __pathconf (path, name)
weak_alias (__pathconf, pathconf)
stub_warning (pathconf)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/pause.c b/sysdeps/generic/pause.c
index 22664e6..18742e8 100644
--- a/sysdeps/stub/pause.c
+++ b/sysdeps/generic/pause.c
@@ -31,3 +31,4 @@ pause ()
}
stub_warning (pause)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/pipe.c b/sysdeps/generic/pipe.c
index b566a19..26cf523 100644
--- a/sysdeps/stub/pipe.c
+++ b/sysdeps/generic/pipe.c
@@ -40,3 +40,4 @@ __pipe (__pipedes)
stub_warning (pipe)
weak_alias (__pipe, pipe)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/pipestream.c b/sysdeps/generic/pipestream.c
index c8ab70e..eead474 100644
--- a/sysdeps/stub/pipestream.c
+++ b/sysdeps/generic/pipestream.c
@@ -57,3 +57,4 @@ pclose (stream)
stub_warning (popen)
stub_warning (pclose)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/poll.c b/sysdeps/generic/poll.c
index 509ebf8..f3d678e 100644
--- a/sysdeps/stub/poll.c
+++ b/sysdeps/generic/poll.c
@@ -36,3 +36,4 @@ poll (fds, nfds, timeout)
}
stub_warning (poll)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/pread.c b/sysdeps/generic/pread.c
index 8d937c7..5fdaf7b 100644
--- a/sysdeps/stub/pread.c
+++ b/sysdeps/generic/pread.c
@@ -41,3 +41,4 @@ pread (int fd, void *buf, size_t nbytes, off_t offset)
return -1;
}
stub_warning (pread)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/pread64.c b/sysdeps/generic/pread64.c
index 4223646..fdf6222 100644
--- a/sysdeps/stub/pread64.c
+++ b/sysdeps/generic/pread64.c
@@ -41,3 +41,4 @@ pread64 (int fd, void *buf, size_t nbytes, off64_t offset)
return -1;
}
stub_warning (pread64)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/profil.c b/sysdeps/generic/profil.c
index 9613108..b70e20a 100644
--- a/sysdeps/stub/profil.c
+++ b/sysdeps/generic/profil.c
@@ -39,3 +39,4 @@ __profil (u_short *sample_buffer, size_t size, size_t offset, u_int scale)
}
weak_alias (__profil, profil)
stub_warning (profil)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/ptrace.c b/sysdeps/generic/ptrace.c
index 2a0ba4c..5ab62bc 100644
--- a/sysdeps/stub/ptrace.c
+++ b/sysdeps/generic/ptrace.c
@@ -100,3 +100,4 @@ ptrace (request)
stub_warning (ptrace)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/pwrite.c b/sysdeps/generic/pwrite.c
index ee670d9..48a1dc6 100644
--- a/sysdeps/stub/pwrite.c
+++ b/sysdeps/generic/pwrite.c
@@ -41,3 +41,4 @@ pwrite (int fd, const void *buf, size_t nbytes, off_t offset)
return -1;
}
stub_warning (pwrite)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/pwrite64.c b/sysdeps/generic/pwrite64.c
index c8c77a1..df229f8 100644
--- a/sysdeps/stub/pwrite64.c
+++ b/sysdeps/generic/pwrite64.c
@@ -41,3 +41,4 @@ pwrite64 (int fd, const void *buf, size_t nbytes, off64_t offset)
return -1;
}
stub_warning (pwrite64)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/raise.c b/sysdeps/generic/raise.c
index 97fd5fe..9b698fd 100644
--- a/sysdeps/stub/raise.c
+++ b/sysdeps/generic/raise.c
@@ -32,3 +32,4 @@ weak_alias (raise, gsignal)
stub_warning (raise)
stub_warning (gsignal)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/read.c b/sysdeps/generic/read.c
index b231a18..5701515 100644
--- a/sysdeps/stub/read.c
+++ b/sysdeps/generic/read.c
@@ -44,3 +44,4 @@ stub_warning (read)
weak_alias (__libc_read, __read)
weak_alias (__libc_read, read)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/readdir.c b/sysdeps/generic/readdir.c
index 0f003c6..94e837f 100644
--- a/sysdeps/stub/readdir.c
+++ b/sysdeps/generic/readdir.c
@@ -30,3 +30,4 @@ __readdir (DIR *dirp)
weak_alias (__readdir, readdir)
stub_warning (readdir)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/readdir64.c b/sysdeps/generic/readdir64.c
index fbf4bf4..ce84340 100644
--- a/sysdeps/stub/readdir64.c
+++ b/sysdeps/generic/readdir64.c
@@ -28,3 +28,4 @@ readdir64 (DIR *dirp)
return NULL;
}
stub_warning (readdir64)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/readdir64_r.c b/sysdeps/generic/readdir64_r.c
index cb143cb..787bdce 100644
--- a/sysdeps/stub/readdir64_r.c
+++ b/sysdeps/generic/readdir64_r.c
@@ -30,3 +30,4 @@ readdir64_r (DIR *dirp, struct dirent64 *entry, struct dirent64 **result)
return -1;
}
stub_warning (readdir64_r)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/readdir_r.c b/sysdeps/generic/readdir_r.c
index 422e5a0..ae14d18 100644
--- a/sysdeps/stub/readdir_r.c
+++ b/sysdeps/generic/readdir_r.c
@@ -32,3 +32,4 @@ __readdir_r (DIR *dirp, struct dirent *entry, struct dirent **result)
weak_alias (__readdir_r, readdir_r)
stub_warning (readdir_r)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/readlink.c b/sysdeps/generic/readlink.c
index 2319f84..90d9beb 100644
--- a/sysdeps/stub/readlink.c
+++ b/sysdeps/generic/readlink.c
@@ -34,3 +34,4 @@ __readlink (path, buf, len)
stub_warning (readlink)
weak_alias (__readlink, readlink)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/readv.c b/sysdeps/generic/readv.c
index 8dd22d9..b210d53 100644
--- a/sysdeps/stub/readv.c
+++ b/sysdeps/generic/readv.c
@@ -37,3 +37,4 @@ __readv (fd, vector, count)
weak_alias (__readv, readv)
stub_warning (readv)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/reboot.c b/sysdeps/generic/reboot.c
index 8139aee..c1bce46 100644
--- a/sysdeps/stub/reboot.c
+++ b/sysdeps/generic/reboot.c
@@ -31,3 +31,4 @@ reboot (howto)
stub_warning (reboot)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/recv.c b/sysdeps/generic/recv.c
index 3a9fdce..e59e341 100644
--- a/sysdeps/stub/recv.c
+++ b/sysdeps/generic/recv.c
@@ -34,3 +34,4 @@ recv (fd, buf, n, flags)
stub_warning (recv)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/recvfrom.c b/sysdeps/generic/recvfrom.c
index 931bdbb..35b281a 100644
--- a/sysdeps/stub/recvfrom.c
+++ b/sysdeps/generic/recvfrom.c
@@ -36,3 +36,4 @@ recvfrom (fd, buf, n, flags, addr, addr_len)
}
stub_warning (recvfrom)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/recvmsg.c b/sysdeps/generic/recvmsg.c
index 6e2ca69..625e85a 100644
--- a/sysdeps/stub/recvmsg.c
+++ b/sysdeps/generic/recvmsg.c
@@ -32,3 +32,4 @@ recvmsg (fd, message, flags)
}
stub_warning (recvmsg)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/remove.c b/sysdeps/generic/remove.c
index df2d3ad..ae9251d 100644
--- a/sysdeps/stub/remove.c
+++ b/sysdeps/generic/remove.c
@@ -29,3 +29,4 @@ remove (file)
}
stub_warning (remove)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/rename.c b/sysdeps/generic/rename.c
index 29e1440..887a046 100644
--- a/sysdeps/stub/rename.c
+++ b/sysdeps/generic/rename.c
@@ -38,3 +38,4 @@ rename (old, new)
stub_warning (rename)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/revoke.c b/sysdeps/generic/revoke.c
index cca0514..5c7a608 100644
--- a/sysdeps/stub/revoke.c
+++ b/sysdeps/generic/revoke.c
@@ -28,3 +28,4 @@ revoke (file)
return -1;
}
stub_warning (revoke)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/rewinddir.c b/sysdeps/generic/rewinddir.c
index 4aa5a31..bea0021 100644
--- a/sysdeps/stub/rewinddir.c
+++ b/sysdeps/generic/rewinddir.c
@@ -32,3 +32,4 @@ rewinddir (dirp)
stub_warning (rewinddir)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/rmdir.c b/sysdeps/generic/rmdir.c
index 8b705ad..0ea404f 100644
--- a/sysdeps/stub/rmdir.c
+++ b/sysdeps/generic/rmdir.c
@@ -38,3 +38,4 @@ __rmdir (path)
stub_warning (rmdir)
weak_alias (__rmdir, rmdir)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/s_atanl.c b/sysdeps/generic/s_atanl.c
index 2957d70..d9a7eb6 100644
--- a/sysdeps/stub/s_atanl.c
+++ b/sysdeps/generic/s_atanl.c
@@ -12,3 +12,4 @@ __atanl (long double x)
weak_alias (__atanl, atanl)
stub_warning (atanl)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/s_erfl.c b/sysdeps/generic/s_erfl.c
index 7ae25d6..f329d58 100644
--- a/sysdeps/stub/s_erfl.c
+++ b/sysdeps/generic/s_erfl.c
@@ -23,3 +23,4 @@ __erfcl (long double x)
weak_alias (__erfcl, erfcl)
stub_warning (erfcl)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/s_exp2.c b/sysdeps/generic/s_exp2.c
index 5adda41..4e25d38 100644
--- a/sysdeps/stub/s_exp2.c
+++ b/sysdeps/generic/s_exp2.c
@@ -12,3 +12,4 @@ __exp2 (double x)
weak_alias (__exp2, exp2)
stub_warning (exp2)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/s_exp2f.c b/sysdeps/generic/s_exp2f.c
index f763efb..7928a4c 100644
--- a/sysdeps/stub/s_exp2f.c
+++ b/sysdeps/generic/s_exp2f.c
@@ -12,3 +12,4 @@ __exp2f (float x)
weak_alias (__exp2f, exp2f)
stub_warning (exp2f)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/s_exp2l.c b/sysdeps/generic/s_exp2l.c
index cab2cb2..46ecc4ea 100644
--- a/sysdeps/stub/s_exp2l.c
+++ b/sysdeps/generic/s_exp2l.c
@@ -12,3 +12,4 @@ __exp2l (long double x)
weak_alias (__exp2l, exp2l)
stub_warning (exp2l)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/s_expm1l.c b/sysdeps/generic/s_expm1l.c
index 3879881..d49c68a 100644
--- a/sysdeps/stub/s_expm1l.c
+++ b/sysdeps/generic/s_expm1l.c
@@ -12,3 +12,4 @@ __expm1l (long double x)
weak_alias (__expm1l, expm1l)
stub_warning (expm1l)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/s_log1pl.c b/sysdeps/generic/s_log1pl.c
index 9e51ce2..e5db907 100644
--- a/sysdeps/stub/s_log1pl.c
+++ b/sysdeps/generic/s_log1pl.c
@@ -12,3 +12,4 @@ __log1pl (long double x)
weak_alias (__log1pl, log1pl)
stub_warning (log1pl)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/s_log2l.c b/sysdeps/generic/s_log2l.c
index cc09569..835cd4f 100644
--- a/sysdeps/stub/s_log2l.c
+++ b/sysdeps/generic/s_log2l.c
@@ -12,3 +12,4 @@ __log2l (long double x)
weak_alias (__log2l, log2l)
stub_warning (log2l)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sched_getp.c b/sysdeps/generic/sched_getp.c
index 1c87780..f599f64 100644
--- a/sysdeps/stub/sched_getp.c
+++ b/sysdeps/generic/sched_getp.c
@@ -31,3 +31,4 @@ __sched_getparam (pid_t pid, struct sched_param *param)
stub_warning (sched_getparam)
weak_alias (__sched_getparam, sched_getparam)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sched_gets.c b/sysdeps/generic/sched_gets.c
index 78886e0..a10755f 100644
--- a/sysdeps/stub/sched_gets.c
+++ b/sysdeps/generic/sched_gets.c
@@ -31,3 +31,4 @@ __sched_getscheduler (pid_t pid)
stub_warning (sched_getscheduler)
weak_alias (__sched_getscheduler, sched_getscheduler)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sched_primax.c b/sysdeps/generic/sched_primax.c
index f439698..e782369 100644
--- a/sysdeps/stub/sched_primax.c
+++ b/sysdeps/generic/sched_primax.c
@@ -30,3 +30,4 @@ __sched_get_priority_max (int algorithm)
stub_warning (sched_get_priority_max)
weak_alias (__sched_get_priority_max, sched_get_priority_max)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sched_primin.c b/sysdeps/generic/sched_primin.c
index 527e659..3d1aa13 100644
--- a/sysdeps/stub/sched_primin.c
+++ b/sysdeps/generic/sched_primin.c
@@ -30,3 +30,4 @@ __sched_get_priority_min (int algorithm)
stub_warning (sched_get_priority_min)
weak_alias (__sched_get_priority_min, sched_get_priority_min)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sched_rr_gi.c b/sysdeps/generic/sched_rr_gi.c
index 11197ee..9fac72b 100644
--- a/sysdeps/stub/sched_rr_gi.c
+++ b/sysdeps/generic/sched_rr_gi.c
@@ -31,3 +31,4 @@ __sched_rr_get_interval (pid_t pid, struct timespec *t)
stub_warning (sched_rr_get_interval)
weak_alias (__sched_rr_get_interval, sched_rr_get_interval)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sched_setp.c b/sysdeps/generic/sched_setp.c
index d257a0e..fea7c2e 100644
--- a/sysdeps/stub/sched_setp.c
+++ b/sysdeps/generic/sched_setp.c
@@ -31,3 +31,4 @@ __sched_setparam (pid_t pid, const struct sched_param *param)
stub_warning (sched_setparam)
weak_alias (__sched_setparam, sched_setparam)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sched_sets.c b/sysdeps/generic/sched_sets.c
index c842b2c..7de9516 100644
--- a/sysdeps/stub/sched_sets.c
+++ b/sysdeps/generic/sched_sets.c
@@ -31,3 +31,4 @@ __sched_setscheduler (pid_t pid, int policy, const struct sched_param *param)
stub_warning (sched_setscheduler)
weak_alias (__sched_setscheduler, sched_setscheduler)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sched_yield.c b/sysdeps/generic/sched_yield.c
index d9e02da..7619073 100644
--- a/sysdeps/stub/sched_yield.c
+++ b/sysdeps/generic/sched_yield.c
@@ -30,3 +30,4 @@ __sched_yield (void)
stub_warning (sched_yield)
weak_alias (__sched_yield, sched_yield)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/seekdir.c b/sysdeps/generic/seekdir.c
index 90bce70..c12d3af 100644
--- a/sysdeps/stub/seekdir.c
+++ b/sysdeps/generic/seekdir.c
@@ -38,3 +38,4 @@ seekdir (dirp, pos)
stub_warning (seekdir)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/select.c b/sysdeps/generic/select.c
index 8237020..99fe6d7 100644
--- a/sysdeps/stub/select.c
+++ b/sysdeps/generic/select.c
@@ -39,3 +39,4 @@ __select (nfds, readfds, writefds, exceptfds, timeout)
stub_warning (select)
weak_alias (__select, select)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/semctl.c b/sysdeps/generic/semctl.c
index 3da97eb..297c26b 100644
--- a/sysdeps/stub/semctl.c
+++ b/sysdeps/generic/semctl.c
@@ -35,3 +35,4 @@ semctl (semid, semnum, cmd, arg)
}
stub_warning (semctl)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/semget.c b/sysdeps/generic/semget.c
index 3c82e6f..2e21bc9 100644
--- a/sysdeps/stub/semget.c
+++ b/sysdeps/generic/semget.c
@@ -34,3 +34,4 @@ semget (key, nsems, semflg)
}
stub_warning (semget)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/semop.c b/sysdeps/generic/semop.c
index 81aaac3..64f5951 100644
--- a/sysdeps/stub/semop.c
+++ b/sysdeps/generic/semop.c
@@ -33,3 +33,4 @@ semop (semid, sops, nsops)
}
stub_warning (semop)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/send.c b/sysdeps/generic/send.c
index a25eb72..0ef8294 100644
--- a/sysdeps/stub/send.c
+++ b/sysdeps/generic/send.c
@@ -34,3 +34,4 @@ weak_alias (__send, send)
stub_warning (send)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sendmsg.c b/sysdeps/generic/sendmsg.c
index fac260c..20d8bd6 100644
--- a/sysdeps/stub/sendmsg.c
+++ b/sysdeps/generic/sendmsg.c
@@ -32,3 +32,4 @@ sendmsg (fd, message, flags)
}
stub_warning (sendmsg)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sendto.c b/sysdeps/generic/sendto.c
index 47dad95..f9b3c87 100644
--- a/sysdeps/stub/sendto.c
+++ b/sysdeps/generic/sendto.c
@@ -35,3 +35,4 @@ sendto (fd, buf, n, flags, addr, addr_len)
}
stub_warning (sendto)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/setdomain.c b/sysdeps/generic/setdomain.c
index 718905a..7308d5d 100644
--- a/sysdeps/stub/setdomain.c
+++ b/sysdeps/generic/setdomain.c
@@ -31,3 +31,4 @@ setdomainname (name, len)
}
stub_warning (setdomainname)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/setegid.c b/sysdeps/generic/setegid.c
index 8159a18..d34d222 100644
--- a/sysdeps/stub/setegid.c
+++ b/sysdeps/generic/setegid.c
@@ -30,3 +30,4 @@ setegid (gid)
stub_warning (setegid)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/seteuid.c b/sysdeps/generic/seteuid.c
index 6254a20..9233828 100644
--- a/sysdeps/stub/seteuid.c
+++ b/sysdeps/generic/seteuid.c
@@ -30,3 +30,4 @@ seteuid (uid)
stub_warning (seteuid)
+#include <stub-tag.h>
diff --git a/sysdeps/generic/setfpucw.c b/sysdeps/generic/setfpucw.c
index f7f61f6..ba91a76 100644
--- a/sysdeps/generic/setfpucw.c
+++ b/sysdeps/generic/setfpucw.c
@@ -17,7 +17,7 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include "fpu_control.h"
+#include <fpu_control.h>
void
__setfpucw (fpu_control_t set)
diff --git a/sysdeps/stub/setgid.c b/sysdeps/generic/setgid.c
index 3577cef..7b71ce7 100644
--- a/sysdeps/stub/setgid.c
+++ b/sysdeps/generic/setgid.c
@@ -34,3 +34,4 @@ __setgid (gid)
stub_warning (setgid)
weak_alias (__setgid, setgid)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/setgroups.c b/sysdeps/generic/setgroups.c
index 1602085..e1c2b3e 100644
--- a/sysdeps/stub/setgroups.c
+++ b/sysdeps/generic/setgroups.c
@@ -32,3 +32,4 @@ setgroups (n, groups)
stub_warning (setgroups)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sethostid.c b/sysdeps/generic/sethostid.c
index c951012..9bc808f 100644
--- a/sysdeps/stub/sethostid.c
+++ b/sysdeps/generic/sethostid.c
@@ -31,3 +31,4 @@ sethostid (id)
stub_warning (sethostid)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sethostname.c b/sysdeps/generic/sethostname.c
index 0d325aa..1eba398 100644
--- a/sysdeps/stub/sethostname.c
+++ b/sysdeps/generic/sethostname.c
@@ -32,3 +32,4 @@ sethostname (name, len)
stub_warning (sethostname)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/setitimer.c b/sysdeps/generic/setitimer.c
index 21af517..d853113 100644
--- a/sysdeps/stub/setitimer.c
+++ b/sysdeps/generic/setitimer.c
@@ -41,3 +41,4 @@ __setitimer (which, new, old)
stub_warning (setitimer)
weak_alias (__setitimer, setitimer)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/setjmp.c b/sysdeps/generic/setjmp.c
index 994f4ca..8b1dfa6 100644
--- a/sysdeps/stub/setjmp.c
+++ b/sysdeps/generic/setjmp.c
@@ -34,3 +34,4 @@ __sigsetjmp (jmp_buf env, int savemask)
stub_warning (__sigsetjmp)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/setlogin.c b/sysdeps/generic/setlogin.c
index 2262b50..5f2b5d8 100644
--- a/sysdeps/stub/setlogin.c
+++ b/sysdeps/generic/setlogin.c
@@ -29,3 +29,4 @@ setlogin (name)
}
stub_warning (setlogin)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/setpgid.c b/sysdeps/generic/setpgid.c
index bca886c..3832989 100644
--- a/sysdeps/stub/setpgid.c
+++ b/sysdeps/generic/setpgid.c
@@ -33,3 +33,4 @@ __setpgid (pid, pgid)
stub_warning (setpgid)
weak_alias (__setpgid, setpgid)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/setpriority.c b/sysdeps/generic/setpriority.c
index 908f866..997bea8 100644
--- a/sysdeps/stub/setpriority.c
+++ b/sysdeps/generic/setpriority.c
@@ -32,3 +32,4 @@ setpriority (which, who, prio)
}
stub_warning (setpriority)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/setregid.c b/sysdeps/generic/setregid.c
index 2e16bad..85708fa 100644
--- a/sysdeps/stub/setregid.c
+++ b/sysdeps/generic/setregid.c
@@ -33,3 +33,4 @@ __setregid (effective_gid, real_gid)
stub_warning (setregid)
weak_alias (__setregid, setregid)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/setreuid.c b/sysdeps/generic/setreuid.c
index ddfb1c2..0e60177 100644
--- a/sysdeps/stub/setreuid.c
+++ b/sysdeps/generic/setreuid.c
@@ -33,3 +33,4 @@ __setreuid (effective_uid, real_uid)
stub_warning (setreuid)
weak_alias (__setreuid, setreuid)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/setrlimit.c b/sysdeps/generic/setrlimit.c
index 7f2db6f..b969ea1 100644
--- a/sysdeps/stub/setrlimit.c
+++ b/sysdeps/generic/setrlimit.c
@@ -33,3 +33,4 @@ setrlimit (resource, rlimits)
stub_warning (setrlimit)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/setrlimit64.c b/sysdeps/generic/setrlimit64.c
index 0f223f2..3d1a122 100644
--- a/sysdeps/stub/setrlimit64.c
+++ b/sysdeps/generic/setrlimit64.c
@@ -32,3 +32,4 @@ setrlimit64 (resource, rlimits)
}
stub_warning (setrlimit64)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/setsid.c b/sysdeps/generic/setsid.c
index 3ff4ecc..e5cb586 100644
--- a/sysdeps/stub/setsid.c
+++ b/sysdeps/generic/setsid.c
@@ -32,3 +32,4 @@ __setsid ()
stub_warning (setsid)
weak_alias (__setsid, setsid)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/setsockopt.c b/sysdeps/generic/setsockopt.c
index 5fad292..ba87643 100644
--- a/sysdeps/stub/setsockopt.c
+++ b/sysdeps/generic/setsockopt.c
@@ -35,3 +35,4 @@ setsockopt (fd, level, optname, optval, optlen)
}
stub_warning (setsockopt)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/settimeofday.c b/sysdeps/generic/settimeofday.c
index 231413b..15bfbbc 100644
--- a/sysdeps/stub/settimeofday.c
+++ b/sysdeps/generic/settimeofday.c
@@ -32,3 +32,4 @@ __settimeofday (tv, tz)
stub_warning (settimeofday)
weak_alias (__settimeofday, settimeofday)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/setuid.c b/sysdeps/generic/setuid.c
index dd58f36..eb5383b 100644
--- a/sysdeps/stub/setuid.c
+++ b/sysdeps/generic/setuid.c
@@ -34,3 +34,4 @@ __setuid (uid)
stub_warning (setuid)
weak_alias (__setuid, setuid)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/shmat.c b/sysdeps/generic/shmat.c
index b33cad1..ce2bf70 100644
--- a/sysdeps/stub/shmat.c
+++ b/sysdeps/generic/shmat.c
@@ -35,3 +35,4 @@ shmat (shmid, shmaddr, shmflg)
}
stub_warning (shmat)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/shmctl.c b/sysdeps/generic/shmctl.c
index c03d20d..c9d0ee6 100644
--- a/sysdeps/stub/shmctl.c
+++ b/sysdeps/generic/shmctl.c
@@ -33,3 +33,4 @@ shmctl (shmid, cmd, buf)
}
stub_warning (shmctl)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/shmdt.c b/sysdeps/generic/shmdt.c
index ab9609e..9902d70 100644
--- a/sysdeps/stub/shmdt.c
+++ b/sysdeps/generic/shmdt.c
@@ -32,3 +32,4 @@ shmdt (shmaddr)
}
stub_warning (shmdt)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/shmget.c b/sysdeps/generic/shmget.c
index d86289b..4f8eb63 100644
--- a/sysdeps/stub/shmget.c
+++ b/sysdeps/generic/shmget.c
@@ -34,3 +34,4 @@ shmget (key, size, shmflg)
}
stub_warning (shmget)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/shutdown.c b/sysdeps/generic/shutdown.c
index 3e9754e..5555679 100644
--- a/sysdeps/stub/shutdown.c
+++ b/sysdeps/generic/shutdown.c
@@ -36,3 +36,4 @@ shutdown (fd, how)
stub_warning (shutdown)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sigaction.c b/sysdeps/generic/sigaction.c
index e27741f..8efc060 100644
--- a/sysdeps/stub/sigaction.c
+++ b/sysdeps/generic/sigaction.c
@@ -40,3 +40,4 @@ __sigaction (sig, act, oact)
stub_warning (sigaction)
weak_alias (__sigaction, sigaction)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sigaltstack.c b/sysdeps/generic/sigaltstack.c
index 1737e5d..b4b4e90 100644
--- a/sysdeps/stub/sigaltstack.c
+++ b/sysdeps/generic/sigaltstack.c
@@ -31,3 +31,4 @@ sigaltstack (ss, oss)
}
stub_warning (sigaltstack)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sigblock.c b/sysdeps/generic/sigblock.c
index aa7ef88..5eabb9d 100644
--- a/sysdeps/stub/sigblock.c
+++ b/sysdeps/generic/sigblock.c
@@ -30,3 +30,4 @@ __sigblock (mask)
stub_warning (sigblock)
weak_alias (__sigblock, sigblock)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sigintr.c b/sysdeps/generic/sigintr.c
index c68b919..a9a11e4 100644
--- a/sysdeps/stub/sigintr.c
+++ b/sysdeps/generic/sigintr.c
@@ -32,3 +32,4 @@ siginterrupt (sig, interrupt)
}
stub_warning (siginterrupt)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/siglist.c b/sysdeps/generic/siglist.c
index ae03b1f..ae03b1f 100644
--- a/sysdeps/stub/siglist.c
+++ b/sysdeps/generic/siglist.c
diff --git a/sysdeps/stub/signal.c b/sysdeps/generic/signal.c
index 066a8cc..1ad3f10 100644
--- a/sysdeps/stub/signal.c
+++ b/sysdeps/generic/signal.c
@@ -35,3 +35,4 @@ weak_alias (signal, ssignal)
stub_warning (signal)
stub_warning (ssignal)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sigpause.c b/sysdeps/generic/sigpause.c
index 3525e35..25dfff1 100644
--- a/sysdeps/stub/sigpause.c
+++ b/sysdeps/generic/sigpause.c
@@ -40,3 +40,4 @@ __default_sigpause (mask)
}
weak_alias (__default_sigpause, sigpause)
stub_warning (sigpause)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sigpending.c b/sysdeps/generic/sigpending.c
index dd587ff..2c1597a 100644
--- a/sysdeps/stub/sigpending.c
+++ b/sysdeps/generic/sigpending.c
@@ -37,3 +37,4 @@ sigpending (set)
}
stub_warning (sigpending)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sigprocmask.c b/sysdeps/generic/sigprocmask.c
index 739ebce..739ebce 100644
--- a/sysdeps/stub/sigprocmask.c
+++ b/sysdeps/generic/sigprocmask.c
diff --git a/sysdeps/stub/sigreturn.c b/sysdeps/generic/sigreturn.c
index c14e358..13089a7 100644
--- a/sysdeps/stub/sigreturn.c
+++ b/sysdeps/generic/sigreturn.c
@@ -29,3 +29,4 @@ __sigreturn (context)
stub_warning (sigreturn)
weak_alias (__sigreturn, sigreturn)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sigsetmask.c b/sysdeps/generic/sigsetmask.c
index b8e630d..4be31db 100644
--- a/sysdeps/stub/sigsetmask.c
+++ b/sysdeps/generic/sigsetmask.c
@@ -29,3 +29,4 @@ __sigsetmask (mask)
stub_warning (sigsetmask)
weak_alias (__sigsetmask, sigsetmask)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sigstack.c b/sysdeps/generic/sigstack.c
index 6784b05..52b135a 100644
--- a/sysdeps/stub/sigstack.c
+++ b/sysdeps/generic/sigstack.c
@@ -31,3 +31,4 @@ sigstack (ss, oss)
}
stub_warning (sigstack)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sigsuspend.c b/sysdeps/generic/sigsuspend.c
index a3f8935..15166acf 100644
--- a/sysdeps/stub/sigsuspend.c
+++ b/sysdeps/generic/sigsuspend.c
@@ -32,3 +32,4 @@ sigsuspend (set)
stub_warning (sigsuspend)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sigvec.c b/sysdeps/generic/sigvec.c
index 4441054..8cce744 100644
--- a/sysdeps/stub/sigvec.c
+++ b/sysdeps/generic/sigvec.c
@@ -36,3 +36,4 @@ __sigvec (sig, vec, ovec)
stub_warning (sigvec)
weak_alias (__sigvec, sigvec)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sigwait.c b/sysdeps/generic/sigwait.c
index 28b86aa..f34bfdf 100644
--- a/sysdeps/stub/sigwait.c
+++ b/sysdeps/generic/sigwait.c
@@ -29,3 +29,4 @@ __sigwait (const sigset_t *set, int *sig)
weak_alias (__sigwait, sigwait)
stub_warning (sigwait)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sleep.c b/sysdeps/generic/sleep.c
index fdc8b28..65c1f96 100644
--- a/sysdeps/stub/sleep.c
+++ b/sysdeps/generic/sleep.c
@@ -38,3 +38,4 @@ __sleep (seconds)
weak_alias (__sleep, sleep)
stub_warning (sleep)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/socket.c b/sysdeps/generic/socket.c
index 9a0a1be..b946c16 100644
--- a/sysdeps/stub/socket.c
+++ b/sysdeps/generic/socket.c
@@ -34,3 +34,4 @@ socket (domain, type, protocol)
stub_warning (socket)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/socketpair.c b/sysdeps/generic/socketpair.c
index d2ba667..f8c0d76 100644
--- a/sysdeps/stub/socketpair.c
+++ b/sysdeps/generic/socketpair.c
@@ -36,3 +36,4 @@ socketpair (domain, type, protocol, fds)
stub_warning (socketpair)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sstk.c b/sysdeps/generic/sstk.c
index 6e85672..0ca36ef 100644
--- a/sysdeps/stub/sstk.c
+++ b/sysdeps/generic/sstk.c
@@ -32,3 +32,4 @@ sstk (increment)
}
stub_warning (sstk)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/start.c b/sysdeps/generic/start.c
index cf7efc9..cf7efc9 100644
--- a/sysdeps/stub/start.c
+++ b/sysdeps/generic/start.c
diff --git a/sysdeps/stub/statfs.c b/sysdeps/generic/statfs.c
index bae8eaa..8cdd1e0 100644
--- a/sysdeps/stub/statfs.c
+++ b/sysdeps/generic/statfs.c
@@ -31,3 +31,4 @@ __statfs (const char *file, struct statfs *buf)
weak_alias (__statfs, statfs)
stub_warning (statfs)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/statfs64.c b/sysdeps/generic/statfs64.c
index 51cde7d..93b640e 100644
--- a/sysdeps/stub/statfs64.c
+++ b/sysdeps/generic/statfs64.c
@@ -29,3 +29,4 @@ statfs64 (const char *file, struct statfs64 *buf)
return -1;
}
stub_warning (statfs64)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/stdio_init.c b/sysdeps/generic/stdio_init.c
index a8e733e..a8e733e 100644
--- a/sysdeps/stub/stdio_init.c
+++ b/sysdeps/generic/stdio_init.c
diff --git a/sysdeps/stub/stime.c b/sysdeps/generic/stime.c
index a2a17b5..d41d6b4 100644
--- a/sysdeps/stub/stime.c
+++ b/sysdeps/generic/stime.c
@@ -37,3 +37,4 @@ stime (when)
}
stub_warning (stime)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/strtsupp.c b/sysdeps/generic/strtsupp.c
index 202a1ce..202a1ce 100644
--- a/sysdeps/stub/strtsupp.c
+++ b/sysdeps/generic/strtsupp.c
diff --git a/sysdeps/stub/stty.c b/sysdeps/generic/stty.c
index d947ad0..425bca4 100644
--- a/sysdeps/stub/stty.c
+++ b/sysdeps/generic/stty.c
@@ -37,3 +37,4 @@ stty (fd, params)
}
stub_warning (stty)
+#include <stub-tag.h>
diff --git a/sysdeps/generic/stub_warnings b/sysdeps/generic/stub_warnings
new file mode 100644
index 0000000..a97994b
--- /dev/null
+++ b/sysdeps/generic/stub_warnings
@@ -0,0 +1,270 @@
+__longjmp.c
+_exit.c
+accept.c
+access.c
+acct.c
+adjtime.c
+alarm.c
+bind.c
+brk.c
+chdir.c
+chflags.c
+chmod.c
+chown.c
+chroot.c
+clock.c
+close.c
+closedir.c
+connect.c
+ctermid.c
+cuserid.c
+des_impl.c
+dirfd.c
+dup.c
+dup2.c
+e_acoshl.c
+e_acosl.c
+e_asinl.c
+e_atan2l.c
+e_expl.c
+e_fmodl.c
+e_j0l.c
+e_j1l.c
+e_jnl.c
+e_lgammal_r.c
+e_log10l.c
+e_logl.c
+e_powl.c
+e_rem_pio2l.c
+e_sqrtl.c
+euidaccess.c
+execve.c
+fchdir.c
+fchflags.c
+fchmod.c
+fchown.c
+fclrexcpt.c
+fcntl.c
+fdopen.c
+fegetenv.c
+fegetround.c
+feholdexcpt.c
+fesetenv.c
+fesetround.c
+feupdateenv.c
+fexecve.c
+fgetexcptflg.c
+flock.c
+fork.c
+fpathconf.c
+fraiseexcpt.c
+fsetexcptflg.c
+fstatfs.c
+fstatfs64.c
+fsync.c
+ftestexcept.c
+ftruncate.c
+fxstat.c
+fxstat64.c
+getaddrinfo.c
+getcwd.c
+getdents.c
+getdomain.c
+getdtsz.c
+getegid.c
+geteuid.c
+getgid.c
+getgroups.c
+gethostid.c
+gethostname.c
+getitimer.c
+getlogin.c
+getlogin_r.c
+getpagesize.c
+getpeername.c
+getpgid.c
+getpid.c
+getppid.c
+getpriority.c
+getrlimit.c
+getrlimit64.c
+getrusage.c
+getsockname.c
+getsockopt.c
+getsysstats.c
+gettimeofday.c
+getuid.c
+gtty.c
+if_index.c
+ioctl.c
+isatty.c
+isfdtype.c
+k_cosl.c
+k_rem_pio2l.c
+k_sinl.c
+k_tanl.c
+kill.c
+killpg.c
+lchown.c
+link.c
+listen.c
+lseek.c
+lseek64.c
+lxstat64.c
+madvise.c
+mkdir.c
+mkfifo.c
+mkstemp.c
+mktemp.c
+mprotect.c
+msgctl.c
+msgget.c
+msgrcv.c
+msgsnd.c
+msync.c
+nanosleep.c
+nice.c
+nlist.c
+open.c
+open64.c
+opendir.c
+pathconf.c
+pause.c
+pipe.c
+pipestream.c
+poll.c
+pread.c
+pread64.c
+profil.c
+ptrace.c
+pwrite.c
+pwrite64.c
+raise.c
+read.c
+readdir.c
+readdir64.c
+readdir64_r.c
+readdir_r.c
+readlink.c
+readv.c
+reboot.c
+recv.c
+recvfrom.c
+recvmsg.c
+remove.c
+rename.c
+revoke.c
+rewinddir.c
+rmdir.c
+s_atanl.c
+s_erfl.c
+s_exp2.c
+s_exp2f.c
+s_exp2l.c
+s_expm1l.c
+s_log1pl.c
+s_log2l.c
+sched_getp.c
+sched_gets.c
+sched_primax.c
+sched_primin.c
+sched_rr_gi.c
+sched_setp.c
+sched_sets.c
+sched_yield.c
+seekdir.c
+select.c
+semctl.c
+semget.c
+semop.c
+send.c
+sendmsg.c
+sendto.c
+setdomain.c
+setegid.c
+seteuid.c
+setgid.c
+setgroups.c
+sethostid.c
+sethostname.c
+setitimer.c
+setjmp.c
+setlogin.c
+setpgid.c
+setpriority.c
+setregid.c
+setreuid.c
+setrlimit.c
+setrlimit64.c
+setsid.c
+setsockopt.c
+settimeofday.c
+setuid.c
+shmat.c
+shmctl.c
+shmdt.c
+shmget.c
+shutdown.c
+sigaction.c
+sigaltstack.c
+sigblock.c
+sigintr.c
+signal.c
+sigpause.c
+sigpending.c
+sigreturn.c
+sigsetmask.c
+sigstack.c
+sigsuspend.c
+sigvec.c
+sigwait.c
+sleep.c
+socket.c
+socketpair.c
+sstk.c
+statfs.c
+statfs64.c
+stime.c
+stty.c
+swapoff.c
+swapon.c
+symlink.c
+sync.c
+syscall.c
+sysconf.c
+system.c
+sysv_signal.c
+tcdrain.c
+tcflow.c
+tcflush.c
+tcgetattr.c
+tcgetpgrp.c
+tcsendbrk.c
+tcsetattr.c
+tcsetpgrp.c
+telldir.c
+tempname.c
+time.c
+times.c
+truncate.c
+ttyname.c
+ttyname_r.c
+ualarm.c
+ulimit.c
+umask.c
+unlink.c
+usleep.c
+ustat.c
+utime.c
+utimes.c
+vdprintf.c
+vhangup.c
+wait.c
+wait3.c
+wait4.c
+waitpid.c
+write.c
+writev.c
+xmknod.c
+xstat.c
+xstat64.c
diff --git a/sysdeps/stub/swapoff.c b/sysdeps/generic/swapoff.c
index 3b3fd9a..49e4815 100644
--- a/sysdeps/stub/swapoff.c
+++ b/sysdeps/generic/swapoff.c
@@ -28,3 +28,4 @@ swapoff (const char *path)
}
stub_warning (swapoff)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/swapon.c b/sysdeps/generic/swapon.c
index cbaa1c2..c466e8c 100644
--- a/sysdeps/stub/swapon.c
+++ b/sysdeps/generic/swapon.c
@@ -31,3 +31,4 @@ swapon (path)
}
stub_warning (swapon)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/symlink.c b/sysdeps/generic/symlink.c
index abdaf4a..87365aa 100644
--- a/sysdeps/stub/symlink.c
+++ b/sysdeps/generic/symlink.c
@@ -39,3 +39,4 @@ __symlink (from, to)
stub_warning (symlink)
weak_alias (__symlink, symlink)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sync.c b/sysdeps/generic/sync.c
index aed63b1..aa04edf 100644
--- a/sysdeps/stub/sync.c
+++ b/sysdeps/generic/sync.c
@@ -29,3 +29,4 @@ sync ()
stub_warning (sync)
+#include <stub-tag.h>
diff --git a/sysdeps/generic/sys/mman.h b/sysdeps/generic/sys/mman.h
index 6e41a92..f8ca3f0 100644
--- a/sysdeps/generic/sys/mman.h
+++ b/sysdeps/generic/sys/mman.h
@@ -76,7 +76,7 @@
#endif
/* Return value of `mmap' in case of an error. */
-#define MAP_FAILED ((__caddr_t) -1)
+#define MAP_FAILED ((__ptr_t) -1)
__BEGIN_DECLS
@@ -89,41 +89,41 @@ __BEGIN_DECLS
for errors (in which case `errno' is set). A successful `mmap' call
deallocates any previous mapping for the affected region. */
-extern __caddr_t __mmap __P ((__caddr_t __addr, size_t __len, int __prot,
- int __flags, int __fd, __off_t __offset));
+extern __ptr_t __mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+ int __flags, int __fd, __off_t __offset));
#ifndef __USE_FILE_OFFSET64
-extern __caddr_t mmap __P ((__caddr_t __addr, size_t __len, int __prot,
- int __flags, int __fd, __off_t __offset));
+extern __ptr_t mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+ int __flags, int __fd, __off_t __offset));
#else
-extern __caddr_t mmap __P ((__caddr_t __addr, size_t __len, int __prot,
- int __flags, int __fd, __off_t __offset))
+extern __ptr_t mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+ int __flags, int __fd, __off_t __offset))
__asm__ ("mmap64");
#endif
#ifdef __USE_LARGEFILE64
-extern __caddr_t mmap64 __P ((__caddr_t __addr, size_t __len, int __prot,
- int __flags, int __fd, __off64_t __offset));
+extern __ptr_t mmap64 __P ((__ptr_t __addr, size_t __len, int __prot,
+ int __flags, int __fd, __off64_t __offset));
#endif
/* Deallocate any mapping for the region starting at ADDR and extending LEN
bytes. Returns 0 if successful, -1 for errors (and sets errno). */
-extern int __munmap __P ((__caddr_t __addr, size_t __len));
-extern int munmap __P ((__caddr_t __addr, size_t __len));
+extern int __munmap __P ((__ptr_t __addr, size_t __len));
+extern int munmap __P ((__ptr_t __addr, size_t __len));
/* Change the memory protection of the region starting at ADDR and
extending LEN bytes to PROT. Returns 0 if successful, -1 for errors
(and sets errno). */
-extern int __mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
-extern int mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
+extern int __mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
+extern int mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
/* Synchronize the region starting at ADDR and extending LEN bytes with the
file it maps. Filesystem operations on a file being mapped are
unpredictable before this is done. Flags are from the MS_* set. */
-extern int msync __P ((__caddr_t __addr, size_t __len, int __flags));
+extern int msync __P ((__ptr_t __addr, size_t __len, int __flags));
#ifdef __USE_BSD
/* Advise the system about particular usage patterns the program follows
for the region starting at ADDR and extending LEN bytes. */
-extern int madvise __P ((__caddr_t __addr, size_t __len, int __advice));
+extern int madvise __P ((__ptr_t __addr, size_t __len, int __advice));
#endif
__END_DECLS
diff --git a/sysdeps/stub/sys/param.h b/sysdeps/generic/sys/param.h
index 1dafdda..1dafdda 100644
--- a/sysdeps/stub/sys/param.h
+++ b/sysdeps/generic/sys/param.h
diff --git a/sysdeps/stub/sys/reboot.h b/sysdeps/generic/sys/reboot.h
index bada28d..bada28d 100644
--- a/sysdeps/stub/sys/reboot.h
+++ b/sysdeps/generic/sys/reboot.h
diff --git a/sysdeps/stub/sys/syscall.h b/sysdeps/generic/sys/syscall.h
index 719bd08..719bd08 100644
--- a/sysdeps/stub/sys/syscall.h
+++ b/sysdeps/generic/sys/syscall.h
diff --git a/sysdeps/stub/syscall.c b/sysdeps/generic/syscall.c
index 4903b40..8c20b7e 100644
--- a/sysdeps/stub/syscall.c
+++ b/sysdeps/generic/syscall.c
@@ -32,3 +32,4 @@ syscall (callno)
}
stub_warning (syscall)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sysconf.c b/sysdeps/generic/sysconf.c
index 3d3c0e9..b3fa62a 100644
--- a/sysdeps/stub/sysconf.c
+++ b/sysdeps/generic/sysconf.c
@@ -252,3 +252,4 @@ __sysconf (name)
weak_alias (__sysconf, sysconf)
stub_warning (sysconf)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sysdep.c b/sysdeps/generic/sysdep.c
index 5442eee..5442eee 100644
--- a/sysdeps/stub/sysdep.c
+++ b/sysdeps/generic/sysdep.c
diff --git a/sysdeps/stub/system.c b/sysdeps/generic/system.c
index 311ccfe..5476d0f 100644
--- a/sysdeps/stub/system.c
+++ b/sysdeps/generic/system.c
@@ -35,3 +35,4 @@ weak_alias (__libc_system, system)
stub_warning (system)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/sysv_signal.c b/sysdeps/generic/sysv_signal.c
index 4d3e15a..d8db7d5 100644
--- a/sysdeps/stub/sysv_signal.c
+++ b/sysdeps/generic/sysv_signal.c
@@ -40,3 +40,4 @@ __sysv_signal (sig, handler)
weak_alias (__sysv_signal, sysv_signal)
stub_warning (sysv_signal)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/tcdrain.c b/sysdeps/generic/tcdrain.c
index cda0f16..2bd91b3 100644
--- a/sysdeps/stub/tcdrain.c
+++ b/sysdeps/generic/tcdrain.c
@@ -36,3 +36,4 @@ weak_alias (__libc_tcdrain, tcdrain)
stub_warning (tcdrain)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/tcflow.c b/sysdeps/generic/tcflow.c
index e8fc81c..b1c091d 100644
--- a/sysdeps/stub/tcflow.c
+++ b/sysdeps/generic/tcflow.c
@@ -50,3 +50,4 @@ tcflow (fd, action)
stub_warning (tcflow)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/tcflush.c b/sysdeps/generic/tcflush.c
index 28cd558..627f62e 100644
--- a/sysdeps/stub/tcflush.c
+++ b/sysdeps/generic/tcflush.c
@@ -43,3 +43,4 @@ tcflush (fd, queue_selector)
stub_warning(tcflush);
+#include <stub-tag.h>
diff --git a/sysdeps/stub/tcgetattr.c b/sysdeps/generic/tcgetattr.c
index 9e80969..bb75434 100644
--- a/sysdeps/stub/tcgetattr.c
+++ b/sysdeps/generic/tcgetattr.c
@@ -43,3 +43,4 @@ __tcgetattr (fd, termios_p)
stub_warning (tcgetattr)
weak_alias (__tcgetattr, tcgetattr)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/tcgetpgrp.c b/sysdeps/generic/tcgetpgrp.c
index a6e711a..91ed22c 100644
--- a/sysdeps/stub/tcgetpgrp.c
+++ b/sysdeps/generic/tcgetpgrp.c
@@ -37,3 +37,4 @@ tcgetpgrp (fd)
stub_warning (tcgetpgrp)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/tcsendbrk.c b/sysdeps/generic/tcsendbrk.c
index 5f127e4..a741eed 100644
--- a/sysdeps/stub/tcsendbrk.c
+++ b/sysdeps/generic/tcsendbrk.c
@@ -37,3 +37,4 @@ tcsendbreak (fd, duration)
stub_warning (tcsendbreak)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/tcsetattr.c b/sysdeps/generic/tcsetattr.c
index 7904ea2..e1b54c5 100644
--- a/sysdeps/stub/tcsetattr.c
+++ b/sysdeps/generic/tcsetattr.c
@@ -94,3 +94,4 @@ bad_speed (speed)
stub_warning (tcsetattr)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/tcsetpgrp.c b/sysdeps/generic/tcsetpgrp.c
index 741c3b3..e48ee69 100644
--- a/sysdeps/stub/tcsetpgrp.c
+++ b/sysdeps/generic/tcsetpgrp.c
@@ -38,3 +38,4 @@ tcsetpgrp (fd, pgrp_id)
stub_warning (tcsetpgrp)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/telldir.c b/sysdeps/generic/telldir.c
index 85217e9..3400829 100644
--- a/sysdeps/stub/telldir.c
+++ b/sysdeps/generic/telldir.c
@@ -38,3 +38,4 @@ telldir (dirp)
stub_warning (telldir)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/tempname.c b/sysdeps/generic/tempname.c
index d87c54f..f5d1ed0 100644
--- a/sysdeps/stub/tempname.c
+++ b/sysdeps/generic/tempname.c
@@ -43,3 +43,4 @@ __stdio_gen_tempname (buf, bufsize, dir, pfx, dir_search, lenptr, streamptr,
}
stub_warning (__stdio_gen_tempname)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/thread_state.h b/sysdeps/generic/thread_state.h
index 060282e..060282e 100644
--- a/sysdeps/stub/thread_state.h
+++ b/sysdeps/generic/thread_state.h
diff --git a/sysdeps/stub/time.c b/sysdeps/generic/time.c
index 412ef1d..461aedd 100644
--- a/sysdeps/stub/time.c
+++ b/sysdeps/generic/time.c
@@ -32,3 +32,4 @@ time (timer)
}
stub_warning (time)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/times.c b/sysdeps/generic/times.c
index 7867613..e51ced0 100644
--- a/sysdeps/stub/times.c
+++ b/sysdeps/generic/times.c
@@ -40,3 +40,4 @@ __times (buffer)
stub_warning (times)
weak_alias (__times, times)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/trampoline.c b/sysdeps/generic/trampoline.c
index 4fd699e..4fd699e 100644
--- a/sysdeps/stub/trampoline.c
+++ b/sysdeps/generic/trampoline.c
diff --git a/sysdeps/stub/truncate.c b/sysdeps/generic/truncate.c
index c6257b6..20e9fe0 100644
--- a/sysdeps/stub/truncate.c
+++ b/sysdeps/generic/truncate.c
@@ -30,3 +30,4 @@ truncate (path, length)
}
stub_warning (truncate)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/ttyname.c b/sysdeps/generic/ttyname.c
index 56e844c..e62dea2 100644
--- a/sysdeps/stub/ttyname.c
+++ b/sysdeps/generic/ttyname.c
@@ -35,3 +35,4 @@ ttyname (fd)
stub_warning (ttyname)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/ttyname_r.c b/sysdeps/generic/ttyname_r.c
index 6599d60..6e8a9d6 100644
--- a/sysdeps/stub/ttyname_r.c
+++ b/sysdeps/generic/ttyname_r.c
@@ -34,3 +34,4 @@ ttyname_r (fd, buf, buflen)
stub_warning (ttyname_r)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/ualarm.c b/sysdeps/generic/ualarm.c
index 5972e24..b2c8da3 100644
--- a/sysdeps/stub/ualarm.c
+++ b/sysdeps/generic/ualarm.c
@@ -34,3 +34,4 @@ ualarm (value, interval)
}
stub_warning (ualarm)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/udiv_qrnnd.c b/sysdeps/generic/udiv_qrnnd.c
index d32796c..d32796c 100644
--- a/sysdeps/stub/udiv_qrnnd.c
+++ b/sysdeps/generic/udiv_qrnnd.c
diff --git a/sysdeps/stub/ulimit.c b/sysdeps/generic/ulimit.c
index 7643e31..3d90170 100644
--- a/sysdeps/stub/ulimit.c
+++ b/sysdeps/generic/ulimit.c
@@ -38,3 +38,4 @@ __ulimit (cmd, newlimit)
weak_alias (__ulimit, ulimit)
stub_warning (ulimit)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/umask.c b/sysdeps/generic/umask.c
index 58b369d..584780d 100644
--- a/sysdeps/stub/umask.c
+++ b/sysdeps/generic/umask.c
@@ -31,3 +31,4 @@ __umask (mask)
stub_warning (umask)
weak_alias (__umask, umask)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/unlink.c b/sysdeps/generic/unlink.c
index fd303b8..545a24a 100644
--- a/sysdeps/stub/unlink.c
+++ b/sysdeps/generic/unlink.c
@@ -38,3 +38,4 @@ __unlink (name)
stub_warning (unlink)
weak_alias (__unlink, unlink)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/usleep.c b/sysdeps/generic/usleep.c
index 7ee41b6..8c0e851 100644
--- a/sysdeps/stub/usleep.c
+++ b/sysdeps/generic/usleep.c
@@ -29,3 +29,4 @@ usleep (useconds)
}
stub_warning (usleep)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/ustat.c b/sysdeps/generic/ustat.c
index 660b308..5371641 100644
--- a/sysdeps/stub/ustat.c
+++ b/sysdeps/generic/ustat.c
@@ -30,3 +30,4 @@ ustat (dev, ust)
return -1;
}
stub_warning (ustat)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/utime.c b/sysdeps/generic/utime.c
index b69e490..40b554d 100644
--- a/sysdeps/stub/utime.c
+++ b/sysdeps/generic/utime.c
@@ -40,3 +40,4 @@ utime (file, times)
stub_warning (utime)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/utimes.c b/sysdeps/generic/utimes.c
index 1cdc8fa..438673b 100644
--- a/sysdeps/stub/utimes.c
+++ b/sysdeps/generic/utimes.c
@@ -40,3 +40,4 @@ __utimes (file, tvp)
weak_alias (__utimes, utimes)
stub_warning (utimes)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/vdprintf.c b/sysdeps/generic/vdprintf.c
index b991169..29e7fd3 100644
--- a/sysdeps/stub/vdprintf.c
+++ b/sysdeps/generic/vdprintf.c
@@ -30,3 +30,4 @@ vdprintf (int d, const char *format, va_list arg)
}
stub_warning (vdprintf)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/vhangup.c b/sysdeps/generic/vhangup.c
index 9492528..2e112b1 100644
--- a/sysdeps/stub/vhangup.c
+++ b/sysdeps/generic/vhangup.c
@@ -30,3 +30,4 @@ vhangup ()
}
stub_warning (vhangup)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/wait.c b/sysdeps/generic/wait.c
index 8b186af..6f1db03 100644
--- a/sysdeps/stub/wait.c
+++ b/sysdeps/generic/wait.c
@@ -31,3 +31,4 @@ __wait (stat_loc)
stub_warning (wait)
weak_alias (__wait, wait)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/wait3.c b/sysdeps/generic/wait3.c
index b0c71af..4df9d42 100644
--- a/sysdeps/stub/wait3.c
+++ b/sysdeps/generic/wait3.c
@@ -43,3 +43,4 @@ __wait3 (stat_loc, options, usage)
stub_warning (wait3)
weak_alias (__wait3, wait3)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/wait4.c b/sysdeps/generic/wait4.c
index e67e37b..d29d80c 100644
--- a/sysdeps/stub/wait4.c
+++ b/sysdeps/generic/wait4.c
@@ -33,3 +33,4 @@ __wait4 (pid, stat_loc, options, usage)
stub_warning (wait4)
weak_alias (__wait4, wait4)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/waitpid.c b/sysdeps/generic/waitpid.c
index 0e52335..66d8915 100644
--- a/sysdeps/stub/waitpid.c
+++ b/sysdeps/generic/waitpid.c
@@ -49,3 +49,4 @@ weak_alias (__libc_waitpid, __waitpid)
weak_alias (__libc_waitpid, waitpid)
stub_warning (waitpid)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/write.c b/sysdeps/generic/write.c
index d4fee7b..6f98a83 100644
--- a/sysdeps/stub/write.c
+++ b/sysdeps/generic/write.c
@@ -45,3 +45,4 @@ stub_warning (write)
weak_alias (__libc_write, __write)
weak_alias (__libc_write, write)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/writev.c b/sysdeps/generic/writev.c
index d18d73c..fc6bc20 100644
--- a/sysdeps/stub/writev.c
+++ b/sysdeps/generic/writev.c
@@ -37,3 +37,4 @@ __writev (fd, vector, count)
weak_alias (__writev, writev)
stub_warning (writev)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/xmknod.c b/sysdeps/generic/xmknod.c
index 35234c2..6759801 100644
--- a/sysdeps/stub/xmknod.c
+++ b/sysdeps/generic/xmknod.c
@@ -38,3 +38,4 @@ __xmknod (int vers, const char *path, mode_t mode, dev_t *dev)
stub_warning (__xmknod)
weak_alias (__xmknod, _xmknod)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/xstat.c b/sysdeps/generic/xstat.c
index 31fd3a0..02f097f 100644
--- a/sysdeps/stub/xstat.c
+++ b/sysdeps/generic/xstat.c
@@ -36,3 +36,4 @@ __xstat (int vers, const char *file, struct stat *buf)
stub_warning (stat)
weak_alias (__xstat, _xstat)
+#include <stub-tag.h>
diff --git a/sysdeps/stub/xstat64.c b/sysdeps/generic/xstat64.c
index 8eb1d17..8d85360 100644
--- a/sysdeps/stub/xstat64.c
+++ b/sysdeps/generic/xstat64.c
@@ -34,3 +34,4 @@ __xstat64 (int vers, const char *file, struct stat64 *buf)
return -1;
}
stub_warning (stat64)
+#include <stub-tag.h>
diff --git a/sysdeps/i386/i486/bits/string.h b/sysdeps/i386/i486/bits/string.h
index ef808d2..80fcc48 100644
--- a/sysdeps/i386/i486/bits/string.h
+++ b/sysdeps/i386/i486/bits/string.h
@@ -979,6 +979,14 @@ __strchr_g (__const char *__s, int __c)
}
+/* Find the first occurrence of C in S. This is the BSD name. */
+#define _HAVE_STRING_ARCH_index 1
+#define index(s, c) \
+ (__extension__ (__builtin_constant_p (c) \
+ ? __strchr_c (s, ((c) & 0xff) << 8) \
+ : __strchr_g (s, c)))
+
+
/* Find the last occurrence of C in S. */
#define _HAVE_STRING_ARCH_strrchr 1
#define strrchr(s, c) \
@@ -1067,6 +1075,14 @@ __strrchr_g (__const char *__s, int __c)
#endif
+/* Find the last occurrence of C in S. This is the BSD name. */
+#define _HAVE_STRING_ARCH_rindex 1
+#define rindex(s, c) \
+ (__extension__ (__builtin_constant_p (c) \
+ ? __strrchr_c (s, ((c) & 0xff) << 8) \
+ : __strrchr_g (s, c)))
+
+
/* Return the length of the initial segment of S which
consists entirely of characters not in REJECT. */
#define _HAVE_STRING_ARCH_strcspn 1
diff --git a/sysdeps/mach/hurd/mmap.c b/sysdeps/mach/hurd/mmap.c
index dc4b024..8b4c345 100644
--- a/sysdeps/mach/hurd/mmap.c
+++ b/sysdeps/mach/hurd/mmap.c
@@ -27,12 +27,12 @@
is nonzero, it is the desired mapping address. If the MAP_FIXED bit is
set in FLAGS, the mapping will be at ADDR exactly (which must be
page-aligned); otherwise the system chooses a convenient nearby address.
- The return value is the actual mapping address chosen or (caddr_t) -1
+ The return value is the actual mapping address chosen or (__ptr_t) -1
for errors (in which case `errno' is set). A successful `mmap' call
deallocates any previous mapping for the affected region. */
-caddr_t
-__mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
+__ptr_t
+__mmap (__ptr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
{
error_t err;
vm_prot_t vmprot;
@@ -49,7 +49,7 @@ __mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
/* A specific address is requested. It need not be page-aligned;
it just needs to be congruent with the object offset. */
if ((mapaddr & (vm_page_size - 1)) != pageoff)
- return (caddr_t) (long int) __hurd_fail (EINVAL);
+ return (__ptr_t) (long int) __hurd_fail (EINVAL);
else
/* We will add back PAGEOFF after mapping. */
mapaddr -= pageoff;
@@ -66,7 +66,7 @@ __mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
switch (flags & MAP_TYPE)
{
default:
- return (caddr_t) (long int) __hurd_fail (EINVAL);
+ return (__ptr_t) (long int) __hurd_fail (EINVAL);
case MAP_ANON:
memobj = MACH_PORT_NULL;
@@ -77,7 +77,7 @@ __mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
{
mach_port_t robj, wobj;
if (err = HURD_DPORT_USE (fd, __io_map (port, &robj, &wobj)))
- return (caddr_t) (long int) __hurd_dfail (fd, err);
+ return (__ptr_t) (long int) __hurd_dfail (fd, err);
switch (prot & (PROT_READ|PROT_WRITE))
{
case PROT_READ:
@@ -106,7 +106,7 @@ __mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
else
{
__mach_port_deallocate (__mach_task_self (), wobj);
- return (caddr_t) (long int) __hurd_fail (EACCES);
+ return (__ptr_t) (long int) __hurd_fail (EACCES);
}
break;
}
@@ -144,12 +144,12 @@ __mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
__mach_port_deallocate (__mach_task_self (), memobj);
if (err)
- return (caddr_t) (long int) __hurd_fail (err);
+ return (__ptr_t) (long int) __hurd_fail (err);
/* Adjust the mapping address for the offset-within-page. */
mapaddr += pageoff;
- return (caddr_t) mapaddr;
+ return (__ptr_t) mapaddr;
}
weak_alias (__mmap, mmap)
diff --git a/sysdeps/mach/mprotect.c b/sysdeps/mach/mprotect.c
index f98c663..f297cdb 100644
--- a/sysdeps/mach/mprotect.c
+++ b/sysdeps/mach/mprotect.c
@@ -26,7 +26,7 @@
(and sets errno). */
int
-__mprotect (caddr_t addr, size_t len, int prot)
+__mprotect (__ptr_t addr, size_t len, int prot)
{
kern_return_t err;
vm_prot_t vmprot;
diff --git a/sysdeps/mach/munmap.c b/sysdeps/mach/munmap.c
index 6b3e07d..79f54e1 100644
--- a/sysdeps/mach/munmap.c
+++ b/sysdeps/mach/munmap.c
@@ -25,7 +25,7 @@
bytes. Returns 0 if successful, -1 for errors (and sets errno). */
int
-__munmap (caddr_t addr, size_t len)
+__munmap (__ptr_t addr, size_t len)
{
kern_return_t err;
if (err = __vm_deallocate (__mach_task_self (),
diff --git a/sysdeps/unix/Makefile b/sysdeps/unix/Makefile
index 0e837ca..f8cdb02 100644
--- a/sysdeps/unix/Makefile
+++ b/sysdeps/unix/Makefile
@@ -19,7 +19,7 @@
# The unix-specific configure fragment writes `unix-generated' in config.make.
config-generated := $(config-generated) $(unix-generated)
-ifeq (,$(filter-out $(sysdep_dir)/stub/ $(common-objpfx),\
+ifeq (,$(filter-out $(sysdep_dir)/generic/ $(common-objpfx),\
$(dir $(firstword $(wildcard $(+sysdep_dirs:%=%/bits/local_lim.h))))))
ifneq (,$(wildcard $(sysincludedir)/sys/param.h))
@@ -43,7 +43,7 @@ common-generated := $(common-generated) local_lim.h mk-local_lim
endif
-ifeq (,$(filter-out $(sysdep_dir)/stub/ $(common-objpfx),\
+ifeq (,$(filter-out $(sysdep_dir)/generic/ $(common-objpfx),\
$(patsubst %/sys/param.h,%/,\
$(firstword $(wildcard $(+sysdep_dirs:%=%/sys/param.h))))))
@@ -126,11 +126,11 @@ endif # misc
endif # No sysdep sys/param.h.
-ifeq (,$(filter-out $(sysdep_dir)/stub/ $(common-objpfx),\
+ifeq (,$(filter-out $(sysdep_dir)/generic/ $(common-objpfx),\
$(dir $(firstword $(wildcard $(+sysdep_dirs:%=%/bits/errno.h))))))
# These need to exist before any compiling is done,
-# so cpp doesn't instead find the stub versions.
+# so cpp doesn't instead find the generic versions.
before-compile := $(before-compile) $(common-objpfx)bits/errno.h
$(common-objpfx)bits/errno.h: $(common-objpfx)make-errnos
@@ -155,7 +155,7 @@ common-generated := $(common-generated) \
errnos.h errnos make-errnos make-errnos.c
endif
-ifeq (,$(filter-out $(sysdep_dir)/stub/ $(common-objpfx),\
+ifeq (,$(filter-out $(sysdep_dir)/generic/ $(common-objpfx),\
$(dir $(firstword $(wildcard $(+sysdep_dirs:%=%/bits/ioctls.h))))))
before-compile := $(before-compile) $(common-objpfx)bits/ioctls.h
@@ -211,7 +211,7 @@ common-generated := $(common-generated) \
endif
ifeq ($(subdir),stdio-common)
-ifeq (,$(filter-out $(sysdep_dir)/stub/ $(objpfx),\
+ifeq (,$(filter-out $(sysdep_dir)/generic/ $(objpfx),\
$(dir $(firstword $(wildcard $(+sysdep_dirs:%=%/errlist.c))))))
before-compile: $(objpfx)errlist.c
@@ -228,7 +228,7 @@ generated := $(generated) make_errlist errlist.c
endif
endif # stdio-common
-ifeq (,$(filter-out $(sysdep_dir)/stub/ $(common-objpfx),\
+ifeq (,$(filter-out $(sysdep_dir)/generic/ $(common-objpfx),\
$(dir $(firstword $(wildcard $(+sysdep_dirs:%=%/sys/syscall.h))))))
# The syscall code assumes a file <sys/syscall.h> that defines macros
diff --git a/sysdeps/unix/bsd/osf/sys/mman.h b/sysdeps/unix/bsd/osf/sys/mman.h
index 816f271..cf0bf45 100644
--- a/sysdeps/unix/bsd/osf/sys/mman.h
+++ b/sysdeps/unix/bsd/osf/sys/mman.h
@@ -77,7 +77,7 @@
#define MS_INVALIDATE 4 /* Invalidate cached pages. */
/* Return value of `mmap' in case of an error. */
-#define MAP_FAILED ((__caddr_t) -1)
+#define MAP_FAILED ((__ptr_t) -1)
__BEGIN_DECLS
@@ -90,31 +90,31 @@ __BEGIN_DECLS
for errors (in which case `errno' is set). A successful `mmap' call
deallocates any previous mapping for the affected region. */
-extern __caddr_t __mmap __P ((__caddr_t __addr, size_t __len, int __prot,
- int __flags, int __fd, off_t __offset));
-extern __caddr_t mmap __P ((__caddr_t __addr, size_t __len, int __prot,
- int __flags, int __fd, off_t __offset));
+extern __ptr_t __mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+ int __flags, int __fd, off_t __offset));
+extern __ptr_t mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+ int __flags, int __fd, off_t __offset));
/* Deallocate any mapping for the region starting at ADDR and extending LEN
bytes. Returns 0 if successful, -1 for errors (and sets errno). */
-extern int __munmap __P ((__caddr_t __addr, size_t __len));
-extern int munmap __P ((__caddr_t __addr, size_t __len));
+extern int __munmap __P ((__ptr_t __addr, size_t __len));
+extern int munmap __P ((__ptr_t __addr, size_t __len));
/* Change the memory protection of the region starting at ADDR and
extending LEN bytes to PROT. Returns 0 if successful, -1 for errors
(and sets errno). */
-extern int __mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
-extern int mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
+extern int __mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
+extern int mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
/* Synchronize the region starting at ADDR and extending LEN bytes with the
file it maps. Filesystem operations on a file being mapped are
unpredictable before this is done. */
-extern int msync __P ((__caddr_t __addr, size_t __len, int __flags));
+extern int msync __P ((__ptr_t __addr, size_t __len, int __flags));
#ifdef __USE_BSD
/* Advise the system about particular usage patterns the program follows
for the region starting at ADDR and extending LEN bytes. */
-extern int madvise __P ((__caddr_t __addr, size_t __len, int __advice));
+extern int madvise __P ((__ptr_t __addr, size_t __len, int __advice));
#endif
__END_DECLS
diff --git a/sysdeps/unix/bsd/sun/sunos4/mmap.c b/sysdeps/unix/bsd/sun/sunos4/mmap.c
index 7c373c4..8400aaa 100644
--- a/sysdeps/unix/bsd/sun/sunos4/mmap.c
+++ b/sysdeps/unix/bsd/sun/sunos4/mmap.c
@@ -25,16 +25,16 @@
is nonzero, it is the desired mapping address. If the MAP_FIXED bit is
set in FLAGS, the mapping will be at ADDR exactly (which must be
page-aligned); otherwise the system chooses a convenient nearby address.
- The return value is the actual mapping address chosen or (caddr_t) -1
+ The return value is the actual mapping address chosen or MAP_FAILED
for errors (in which case `errno' is set). A successful `mmap' call
deallocates any previous mapping for the affected region. */
-extern caddr_t __mmap_syscall (caddr_t addr, size_t len,
+extern __ptr_t __mmap_syscall (__ptr_t addr, size_t len,
int prot, int flags, int fd, off_t offset);
-caddr_t
-__mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
+__ptr_t
+__mmap (__ptr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
{
return __mmap_syscall (addr, len, prot, flags | _MAP_NEW, fd, offset);
}
diff --git a/sysdeps/unix/bsd/sun/sunos4/sys/mman.h b/sysdeps/unix/bsd/sun/sunos4/sys/mman.h
index d2a8998..420aed9 100644
--- a/sysdeps/unix/bsd/sun/sunos4/sys/mman.h
+++ b/sysdeps/unix/bsd/sun/sunos4/sys/mman.h
@@ -74,7 +74,7 @@
#define MS_INVALIDATE 0x2 /* Invalidate caches. */
/* Return value of `mmap' in case of an error. */
-#define MAP_FAILED ((__caddr_t) -1)
+#define MAP_FAILED ((__ptr_t) -1)
__BEGIN_DECLS
@@ -87,31 +87,31 @@ __BEGIN_DECLS
for errors (in which case `errno' is set). A successful `mmap' call
deallocates any previous mapping for the affected region. */
-extern __caddr_t __mmap __P ((__caddr_t __addr, size_t __len, int __prot,
- int __flags, int __fd, __off_t __offset));
-extern __caddr_t mmap __P ((__caddr_t __addr, size_t __len, int __prot,
- int __flags, int __fd, __off_t __offset));
+extern __ptr_t __mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+ int __flags, int __fd, __off_t __offset));
+extern __ptr_t mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+ int __flags, int __fd, __off_t __offset));
/* Deallocate any mapping for the region starting at ADDR and extending LEN
bytes. Returns 0 if successful, -1 for errors (and sets errno). */
-extern int __munmap __P ((__caddr_t __addr, size_t __len));
-extern int munmap __P ((__caddr_t __addr, size_t __len));
+extern int __munmap __P ((__ptr_t __addr, size_t __len));
+extern int munmap __P ((__ptr_t __addr, size_t __len));
/* Change the memory protection of the region starting at ADDR and
extending LEN bytes to PROT. Returns 0 if successful, -1 for errors
(and sets errno). */
-extern int __mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
-extern int mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
+extern int __mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
+extern int mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
/* Synchronize the region starting at ADDR and extending LEN bytes with the
file it maps. Filesystem operations on a file being mapped are
unpredictable before this is done. */
-extern int msync __P ((__caddr_t __addr, size_t __len, int __flags));
+extern int msync __P ((__ptr_t __addr, size_t __len, int __flags));
#ifdef __USE_BSD
/* Advise the system about particular usage patterns the program follows
for the region starting at ADDR and extending LEN bytes. */
-extern int madvise __P ((__caddr_t __addr, size_t __len, int __advice));
+extern int madvise __P ((__ptr_t __addr, size_t __len, int __advice));
#endif
__END_DECLS
diff --git a/sysdeps/unix/bsd/ultrix4/sys/mman.h b/sysdeps/unix/bsd/ultrix4/sys/mman.h
index 4262fce..b884ba5 100644
--- a/sysdeps/unix/bsd/ultrix4/sys/mman.h
+++ b/sysdeps/unix/bsd/ultrix4/sys/mman.h
@@ -58,7 +58,7 @@
#endif
/* Return value of `mmap' in case of an error. */
-#define MAP_FAILED ((__caddr_t) -1)
+#define MAP_FAILED ((__ptr_t) -1)
__BEGIN_DECLS
@@ -71,33 +71,33 @@ __BEGIN_DECLS
for errors (in which case `errno' is set). A successful `mmap' call
deallocates any previous mapping for the affected region. */
-extern __caddr_t __mmap __P ((__caddr_t __addr, size_t __len, int __prot,
- int __flags, int __fd, off_t __offset));
-extern __caddr_t mmap __P ((__caddr_t __addr, size_t __len, int __prot,
- int __flags, int __fd, off_t __offset));
+extern __ptr_t __mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+ int __flags, int __fd, off_t __offset));
+extern __ptr_t mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+ int __flags, int __fd, off_t __offset));
/* Deallocate any mapping for the region starting at ADDR and extending LEN
bytes. Returns 0 if successful, -1 for errors (and sets errno). */
-extern int __munmap __P ((__caddr_t __addr, size_t __len));
-extern int munmap __P ((__caddr_t __addr, size_t __len));
+extern int __munmap __P ((__ptr_t __addr, size_t __len));
+extern int munmap __P ((__ptr_t __addr, size_t __len));
/* Change the memory protection of the region starting at ADDR and
extending LEN bytes to PROT. Returns 0 if successful, -1 for errors
(and sets errno). */
-extern int __mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
-extern int mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
+extern int __mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
+extern int mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
/* Ultrix 4 does not implement `msync' or `madvise'. */
/* Synchronize the region starting at ADDR and extending LEN bytes with the
file it maps. Filesystem operations on a file being mapped are
unpredictable before this is done. */
-extern int msync __P ((caddr_t __addr, size_t __len));
+extern int msync __P ((__ptr_t __addr, size_t __len));
#ifdef __USE_BSD
/* Advise the system about particular usage patterns the program follows
for the region starting at ADDR and extending LEN bytes. */
-extern int madvise __P ((__caddr_t __addr, size_t __len, int __advice));
+extern int madvise __P ((__ptr_t __addr, size_t __len, int __advice));
#endif
__END_DECLS
diff --git a/sysdeps/unix/sysv/irix4/sys/mman.h b/sysdeps/unix/sysv/irix4/sys/mman.h
index c3a9238..ff1918e 100644
--- a/sysdeps/unix/sysv/irix4/sys/mman.h
+++ b/sysdeps/unix/sysv/irix4/sys/mman.h
@@ -68,7 +68,7 @@
#define MS_INVALIDATE 0x2 /* Invalidate caches. */
/* Return value of `mmap' in case of an error. */
-#define MAP_FAILED ((__caddr_t) -1)
+#define MAP_FAILED ((__ptr_t) -1)
__BEGIN_DECLS
@@ -81,31 +81,31 @@ __BEGIN_DECLS
for errors (in which case `errno' is set). A successful `mmap' call
deallocates any previous mapping for the affected region. */
-extern __caddr_t __mmap __P ((__caddr_t __addr, size_t __len, int __prot,
- int __flags, int __fd, __off_t __offset));
-extern __caddr_t mmap __P ((__caddr_t __addr, size_t __len, int __prot,
- int __flags, int __fd, __off_t __offset));
+extern __ptr_t __mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+ int __flags, int __fd, __off_t __offset));
+extern __ptr_t mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+ int __flags, int __fd, __off_t __offset));
/* Deallocate any mapping for the region starting at ADDR and extending LEN
bytes. Returns 0 if successful, -1 for errors (and sets errno). */
-extern int __munmap __P ((__caddr_t __addr, size_t __len));
-extern int munmap __P ((__caddr_t __addr, size_t __len));
+extern int __munmap __P ((__ptr_t __addr, size_t __len));
+extern int munmap __P ((__ptr_t __addr, size_t __len));
/* Change the memory protection of the region starting at ADDR and
extending LEN bytes to PROT. Returns 0 if successful, -1 for errors
(and sets errno). */
-extern int __mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
-extern int mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
+extern int __mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
+extern int mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
/* Synchronize the region starting at ADDR and extending LEN bytes with the
file it maps. Filesystem operations on a file being mapped are
unpredictable before this is done. */
-extern int msync __P ((caddr_t __addr, size_t __len, int __flags));
+extern int msync __P ((__ptr_t __addr, size_t __len, int __flags));
#ifdef __USE_BSD
/* Advise the system about particular usage patterns the program follows
for the region starting at ADDR and extending LEN bytes. */
-extern int madvise __P ((__caddr_t __addr, size_t __len, int __advice));
+extern int madvise __P ((__ptr_t __addr, size_t __len, int __advice));
#endif
__END_DECLS
diff --git a/sysdeps/unix/sysv/linux/madvise.c b/sysdeps/unix/sysv/linux/madvise.c
index 72b7d76..c223184 100644
--- a/sysdeps/unix/sysv/linux/madvise.c
+++ b/sysdeps/unix/sysv/linux/madvise.c
@@ -1 +1 @@
-#include <sysdeps/stub/madvise.c>
+#include <sysdeps/generic/madvise.c>
diff --git a/sysdeps/unix/sysv/linux/sys/mman.h b/sysdeps/unix/sysv/linux/sys/mman.h
index 129702e..ea326e2 100644
--- a/sysdeps/unix/sysv/linux/sys/mman.h
+++ b/sysdeps/unix/sysv/linux/sys/mman.h
@@ -30,7 +30,7 @@
#include <bits/mman.h>
/* Return value of `mmap' in case of an error. */
-#define MAP_FAILED ((__caddr_t) -1)
+#define MAP_FAILED ((__ptr_t) -1)
__BEGIN_DECLS
/* Map addresses starting near ADDR and extending for LEN bytes. from
@@ -42,41 +42,41 @@ __BEGIN_DECLS
for errors (in which case `errno' is set). A successful `mmap' call
deallocates any previous mapping for the affected region. */
-extern __caddr_t __mmap __P ((__caddr_t __addr, size_t __len, int __prot,
- int __flags, int __fd, __off_t __offset));
+extern __ptr_t __mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+ int __flags, int __fd, __off_t __offset));
#ifndef __USE_FILE_OFFSET64
-extern __caddr_t mmap __P ((__caddr_t __addr, size_t __len, int __prot,
- int __flags, int __fd, __off_t __offset));
+extern __ptr_t mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+ int __flags, int __fd, __off_t __offset));
#else
-extern __caddr_t mmap __P ((__caddr_t __addr, size_t __len, int __prot,
- int __flags, int __fd, __off_t __offset))
+extern __ptr_t mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+ int __flags, int __fd, __off_t __offset))
__asm__ ("mmap64");
#endif
#ifdef __USE_LARGEFILE64
-extern __caddr_t mmap64 __P ((__caddr_t __addr, size_t __len, int __prot,
- int __flags, int __fd, __off64_t __offset));
+extern __ptr_t mmap64 __P ((__ptr_t __addr, size_t __len, int __prot,
+ int __flags, int __fd, __off64_t __offset));
#endif
/* Deallocate any mapping for the region starting at ADDR and extending LEN
bytes. Returns 0 if successful, -1 for errors (and sets errno). */
-extern int __munmap __P ((__caddr_t __addr, size_t __len));
-extern int munmap __P ((__caddr_t __addr, size_t __len));
+extern int __munmap __P ((__ptr_t __addr, size_t __len));
+extern int munmap __P ((__ptr_t __addr, size_t __len));
/* Change the memory protection of the region starting at ADDR and
extending LEN bytes to PROT. Returns 0 if successful, -1 for errors
(and sets errno). */
-extern int __mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
-extern int mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
+extern int __mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
+extern int mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
/* Synchronize the region starting at ADDR and extending LEN bytes with the
file it maps. Filesystem operations on a file being mapped are
unpredictable before this is done. Flags are from the MS_* set. */
-extern int msync __P ((__caddr_t __addr, size_t __len, int __flags));
+extern int msync __P ((__ptr_t __addr, size_t __len, int __flags));
#ifdef __USE_BSD
/* Advise the system about particular usage patterns the program follows
for the region starting at ADDR and extending LEN bytes. */
-extern int madvise __P ((__caddr_t __addr, size_t __len, int __advice));
+extern int madvise __P ((__ptr_t __addr, size_t __len, int __advice));
#endif
/* Cause all currently mapped pages of the process to be memory resident
@@ -90,22 +90,21 @@ extern int munlockall __P ((void));
/* Guarantee all whole pages mapped by the range [ADDR,ADDR+LEN) to
be memory resident. */
-extern int mlock __P ((__caddr_t __addr, size_t __len));
+extern int mlock __P ((__ptr_t __addr, size_t __len));
/* Unlock whole pages previously mapped by the range [ADDR,ADDR+LEN). */
-extern int munlock __P ((__caddr_t __addr, size_t __len));
+extern int munlock __P ((__ptr_t __addr, size_t __len));
#ifdef __USE_MISC
/* Remap pages mapped by the range [ADDR,ADDR+OLD_LEN) to new length
NEW_LEN. If MAY_MOVE is MREMAP_MAYMOVE the returned address may
differ from ADDR. */
-extern __caddr_t __mremap __P ((__caddr_t __addr, size_t __old_len,
- size_t __new_len, int __may_move));
-extern __caddr_t mremap __P ((__caddr_t __addr, size_t __old_len,
- size_t __new_len, int __may_move));
+extern __ptr_t __mremap __P ((__ptr_t __addr, size_t __old_len,
+ size_t __new_len, int __may_move));
+extern __ptr_t mremap __P ((__ptr_t __addr, size_t __old_len,
+ size_t __new_len, int __may_move));
#endif
__END_DECLS
-
#endif /* _SYS_MMAN_H */