[BZ #157] Remove include/stub-tag.h for good.

This commit is contained in:
Thomas Schwinge 2012-11-04 19:59:40 +01:00
parent 512a49be20
commit b830319d49
408 changed files with 423 additions and 435 deletions

411
ChangeLog
View File

@ -1,4 +1,413 @@
012-11-04 Pino Toscano <toscano.pino@tiscali.it>
2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
[BZ #157]
* include/stub-tag.h: Remove file.
* sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
'#include' of it.
* manual/maint.texi (Porting): Don't reference it.
* Makerules ($(objpfx)stubs): Likewise.
* dirent/closedir.c: Don't include <stub-tag.h>.
* dirent/dirfd.c: Likewise.
* dirent/fdopendir.c: Likewise.
* dirent/getdents.c: Likewise.
* dirent/getdents64.c: Likewise.
* dirent/opendir.c: Likewise.
* dirent/readdir.c: Likewise.
* dirent/readdir64.c: Likewise.
* dirent/readdir64_r.c: Likewise.
* dirent/readdir_r.c: Likewise.
* dirent/rewinddir.c: Likewise.
* dirent/seekdir.c: Likewise.
* dirent/telldir.c: Likewise.
* gmon/profil.c: Likewise.
* grp/setgroups.c: Likewise.
* inet/if_index.c: Likewise.
* io/access.c: Likewise.
* io/chdir.c: Likewise.
* io/chmod.c: Likewise.
* io/chown.c: Likewise.
* io/close.c: Likewise.
* io/dup.c: Likewise.
* io/dup2.c: Likewise.
* io/dup3.c: Likewise.
* io/euidaccess.c: Likewise.
* io/faccessat.c: Likewise.
* io/fchdir.c: Likewise.
* io/fchmod.c: Likewise.
* io/fchmodat.c: Likewise.
* io/fchown.c: Likewise.
* io/fchownat.c: Likewise.
* io/fcntl.c: Likewise.
* io/flock.c: Likewise.
* io/fstatfs.c: Likewise.
* io/fstatfs64.c: Likewise.
* io/fstatvfs.c: Likewise.
* io/fstatvfs64.c: Likewise.
* io/futimens.c: Likewise.
* io/fxstat.c: Likewise.
* io/fxstat64.c: Likewise.
* io/fxstatat.c: Likewise.
* io/fxstatat64.c: Likewise.
* io/getcwd.c: Likewise.
* io/isatty.c: Likewise.
* io/lchmod.c: Likewise.
* io/lchown.c: Likewise.
* io/link.c: Likewise.
* io/linkat.c: Likewise.
* io/lseek.c: Likewise.
* io/lseek64.c: Likewise.
* io/lxstat64.c: Likewise.
* io/mkdir.c: Likewise.
* io/mkdirat.c: Likewise.
* io/mkfifo.c: Likewise.
* io/mkfifoat.c: Likewise.
* io/open.c: Likewise.
* io/open64.c: Likewise.
* io/openat.c: Likewise.
* io/openat64.c: Likewise.
* io/pipe.c: Likewise.
* io/pipe2.c: Likewise.
* io/poll.c: Likewise.
* io/posix_fadvise.c: Likewise.
* io/posix_fadvise64.c: Likewise.
* io/posix_fallocate.c: Likewise.
* io/posix_fallocate64.c: Likewise.
* io/read.c: Likewise.
* io/readlink.c: Likewise.
* io/readlinkat.c: Likewise.
* io/rmdir.c: Likewise.
* io/sendfile.c: Likewise.
* io/sendfile64.c: Likewise.
* io/statfs.c: Likewise.
* io/statfs64.c: Likewise.
* io/statvfs.c: Likewise.
* io/statvfs64.c: Likewise.
* io/symlink.c: Likewise.
* io/symlinkat.c: Likewise.
* io/ttyname.c: Likewise.
* io/ttyname_r.c: Likewise.
* io/umask.c: Likewise.
* io/unlink.c: Likewise.
* io/unlinkat.c: Likewise.
* io/utime.c: Likewise.
* io/utimensat.c: Likewise.
* io/write.c: Likewise.
* io/xmknod.c: Likewise.
* io/xmknodat.c: Likewise.
* io/xstat.c: Likewise.
* io/xstat64.c: Likewise.
* login/getpt.c: Likewise.
* login/grantpt.c: Likewise.
* login/unlockpt.c: Likewise.
* math/e_acoshl.c: Likewise.
* math/e_acosl.c: Likewise.
* math/e_asinl.c: Likewise.
* math/e_atan2l.c: Likewise.
* math/e_atanhl.c: Likewise.
* math/e_coshl.c: Likewise.
* math/e_expl.c: Likewise.
* math/e_fmodl.c: Likewise.
* math/e_gammal_r.c: Likewise.
* math/e_hypotl.c: Likewise.
* math/e_j0l.c: Likewise.
* math/e_j1l.c: Likewise.
* math/e_jnl.c: Likewise.
* math/e_lgammal_r.c: Likewise.
* math/e_log10l.c: Likewise.
* math/e_log2l.c: Likewise.
* math/e_logl.c: Likewise.
* math/e_powl.c: Likewise.
* math/e_rem_pio2l.c: Likewise.
* math/e_sinhl.c: Likewise.
* math/e_sqrtl.c: Likewise.
* math/fclrexcpt.c: Likewise.
* math/fedisblxcpt.c: Likewise.
* math/feenablxcpt.c: Likewise.
* math/fegetenv.c: Likewise.
* math/fegetexcept.c: Likewise.
* math/fegetround.c: Likewise.
* math/feholdexcpt.c: Likewise.
* math/fesetenv.c: Likewise.
* math/fesetround.c: Likewise.
* math/feupdateenv.c: Likewise.
* math/fgetexcptflg.c: Likewise.
* math/fraiseexcpt.c: Likewise.
* math/fsetexcptflg.c: Likewise.
* math/ftestexcept.c: Likewise.
* math/k_cosl.c: Likewise.
* math/k_rem_pio2l.c: Likewise.
* math/k_sinl.c: Likewise.
* math/k_tanl.c: Likewise.
* math/s_asinhl.c: Likewise.
* math/s_atanl.c: Likewise.
* math/s_cbrtl.c: Likewise.
* math/s_erfl.c: Likewise.
* math/s_expm1l.c: Likewise.
* math/s_log1pl.c: Likewise.
* math/s_tanhl.c: Likewise.
* misc/acct.c: Likewise.
* misc/brk.c: Likewise.
* misc/chflags.c: Likewise.
* misc/chroot.c: Likewise.
* misc/fchflags.c: Likewise.
* misc/fgetxattr.c: Likewise.
* misc/flistxattr.c: Likewise.
* misc/fremovexattr.c: Likewise.
* misc/fsetxattr.c: Likewise.
* misc/fsync.c: Likewise.
* misc/ftruncate.c: Likewise.
* misc/futimes.c: Likewise.
* misc/futimesat.c: Likewise.
* misc/getdomain.c: Likewise.
* misc/getdtsz.c: Likewise.
* misc/gethostid.c: Likewise.
* misc/gethostname.c: Likewise.
* misc/getloadavg.c: Likewise.
* misc/getpagesize.c: Likewise.
* misc/getsysstats.c: Likewise.
* misc/getxattr.c: Likewise.
* misc/gtty.c: Likewise.
* misc/ioctl.c: Likewise.
* misc/lgetxattr.c: Likewise.
* misc/listxattr.c: Likewise.
* misc/llistxattr.c: Likewise.
* misc/lremovexattr.c: Likewise.
* misc/lsetxattr.c: Likewise.
* misc/lutimes.c: Likewise.
* misc/madvise.c: Likewise.
* misc/mincore.c: Likewise.
* misc/mlock.c: Likewise.
* misc/mlockall.c: Likewise.
* misc/mmap.c: Likewise.
* misc/mprotect.c: Likewise.
* misc/msync.c: Likewise.
* misc/munlock.c: Likewise.
* misc/munlockall.c: Likewise.
* misc/munmap.c: Likewise.
* misc/preadv.c: Likewise.
* misc/preadv64.c: Likewise.
* misc/ptrace.c: Likewise.
* misc/pwritev.c: Likewise.
* misc/pwritev64.c: Likewise.
* misc/readv.c: Likewise.
* misc/reboot.c: Likewise.
* misc/remap_file_pages.c: Likewise.
* misc/removexattr.c: Likewise.
* misc/revoke.c: Likewise.
* misc/select.c: Likewise.
* misc/setdomain.c: Likewise.
* misc/setegid.c: Likewise.
* misc/seteuid.c: Likewise.
* misc/sethostid.c: Likewise.
* misc/sethostname.c: Likewise.
* misc/setregid.c: Likewise.
* misc/setreuid.c: Likewise.
* misc/setxattr.c: Likewise.
* misc/sstk.c: Likewise.
* misc/stty.c: Likewise.
* misc/swapoff.c: Likewise.
* misc/swapon.c: Likewise.
* misc/sync.c: Likewise.
* misc/syncfs.c: Likewise.
* misc/syscall.c: Likewise.
* misc/truncate.c: Likewise.
* misc/ualarm.c: Likewise.
* misc/usleep.c: Likewise.
* misc/ustat.c: Likewise.
* misc/utimes.c: Likewise.
* misc/vhangup.c: Likewise.
* misc/writev.c: Likewise.
* posix/_exit.c: Likewise.
* posix/alarm.c: Likewise.
* posix/execve.c: Likewise.
* posix/fexecve.c: Likewise.
* posix/fork.c: Likewise.
* posix/fpathconf.c: Likewise.
* posix/getaddrinfo.c: Likewise.
* posix/getegid.c: Likewise.
* posix/geteuid.c: Likewise.
* posix/getgid.c: Likewise.
* posix/getgroups.c: Likewise.
* posix/getlogin.c: Likewise.
* posix/getlogin_r.c: Likewise.
* posix/getpgid.c: Likewise.
* posix/getpid.c: Likewise.
* posix/getppid.c: Likewise.
* posix/getresgid.c: Likewise.
* posix/getresuid.c: Likewise.
* posix/getsid.c: Likewise.
* posix/getuid.c: Likewise.
* posix/glob64.c: Likewise.
* posix/nanosleep.c: Likewise.
* posix/pathconf.c: Likewise.
* posix/pause.c: Likewise.
* posix/posix_madvise.c: Likewise.
* posix/pread.c: Likewise.
* posix/pread64.c: Likewise.
* posix/pwrite.c: Likewise.
* posix/pwrite64.c: Likewise.
* posix/sched_getaffinity.c: Likewise.
* posix/sched_getp.c: Likewise.
* posix/sched_gets.c: Likewise.
* posix/sched_primax.c: Likewise.
* posix/sched_primin.c: Likewise.
* posix/sched_rr_gi.c: Likewise.
* posix/sched_setaffinity.c: Likewise.
* posix/sched_setp.c: Likewise.
* posix/sched_sets.c: Likewise.
* posix/sched_yield.c: Likewise.
* posix/setgid.c: Likewise.
* posix/setlogin.c: Likewise.
* posix/setpgid.c: Likewise.
* posix/setresgid.c: Likewise.
* posix/setresuid.c: Likewise.
* posix/setsid.c: Likewise.
* posix/setuid.c: Likewise.
* posix/sleep.c: Likewise.
* posix/spawni.c: Likewise.
* posix/sysconf.c: Likewise.
* posix/times.c: Likewise.
* posix/wait.c: Likewise.
* posix/wait3.c: Likewise.
* posix/wait4.c: Likewise.
* posix/waitpid.c: Likewise.
* resolv/gai_sigqueue.c: Likewise.
* resource/getpriority.c: Likewise.
* resource/getrlimit.c: Likewise.
* resource/getrusage.c: Likewise.
* resource/nice.c: Likewise.
* resource/setpriority.c: Likewise.
* resource/setrlimit.c: Likewise.
* resource/ulimit.c: Likewise.
* rt/aio_cancel.c: Likewise.
* rt/aio_fsync.c: Likewise.
* rt/aio_read.c: Likewise.
* rt/aio_sigqueue.c: Likewise.
* rt/aio_suspend.c: Likewise.
* rt/aio_write.c: Likewise.
* rt/clock_getres.c: Likewise.
* rt/clock_gettime.c: Likewise.
* rt/clock_nanosleep.c: Likewise.
* rt/clock_settime.c: Likewise.
* rt/lio_listio.c: Likewise.
* rt/mq_close.c: Likewise.
* rt/mq_getattr.c: Likewise.
* rt/mq_notify.c: Likewise.
* rt/mq_open.c: Likewise.
* rt/mq_receive.c: Likewise.
* rt/mq_send.c: Likewise.
* rt/mq_setattr.c: Likewise.
* rt/mq_timedreceive.c: Likewise.
* rt/mq_timedsend.c: Likewise.
* rt/mq_unlink.c: Likewise.
* rt/shm_open.c: Likewise.
* rt/shm_unlink.c: Likewise.
* rt/timer_create.c: Likewise.
* rt/timer_delete.c: Likewise.
* rt/timer_getoverr.c: Likewise.
* rt/timer_gettime.c: Likewise.
* rt/timer_settime.c: Likewise.
* setjmp/__longjmp.c: Likewise.
* setjmp/setjmp.c: Likewise.
* signal/kill.c: Likewise.
* signal/killpg.c: Likewise.
* signal/raise.c: Likewise.
* signal/sigaction.c: Likewise.
* signal/sigaltstack.c: Likewise.
* signal/sigblock.c: Likewise.
* signal/sigignore.c: Likewise.
* signal/sigintr.c: Likewise.
* signal/signal.c: Likewise.
* signal/sigpause.c: Likewise.
* signal/sigpending.c: Likewise.
* signal/sigqueue.c: Likewise.
* signal/sigreturn.c: Likewise.
* signal/sigset.c: Likewise.
* signal/sigsetmask.c: Likewise.
* signal/sigstack.c: Likewise.
* signal/sigsuspend.c: Likewise.
* signal/sigtimedwait.c: Likewise.
* signal/sigvec.c: Likewise.
* signal/sigwait.c: Likewise.
* signal/sigwaitinfo.c: Likewise.
* signal/sysv_signal.c: Likewise.
* socket/accept.c: Likewise.
* socket/accept4.c: Likewise.
* socket/bind.c: Likewise.
* socket/connect.c: Likewise.
* socket/getpeername.c: Likewise.
* socket/getsockname.c: Likewise.
* socket/getsockopt.c: Likewise.
* socket/isfdtype.c: Likewise.
* socket/listen.c: Likewise.
* socket/recv.c: Likewise.
* socket/recvfrom.c: Likewise.
* socket/recvmsg.c: Likewise.
* socket/send.c: Likewise.
* socket/sendmsg.c: Likewise.
* socket/sendto.c: Likewise.
* socket/setsockopt.c: Likewise.
* socket/shutdown.c: Likewise.
* socket/sockatmark.c: Likewise.
* socket/socket.c: Likewise.
* socket/socketpair.c: Likewise.
* stdio-common/ctermid.c: Likewise.
* stdio-common/cuserid.c: Likewise.
* stdio-common/remove.c: Likewise.
* stdio-common/rename.c: Likewise.
* stdio-common/renameat.c: Likewise.
* stdio-common/tempname.c: Likewise.
* stdlib/getcontext.c: Likewise.
* stdlib/makecontext.c: Likewise.
* stdlib/setcontext.c: Likewise.
* stdlib/swapcontext.c: Likewise.
* stdlib/system.c: Likewise.
* streams/fattach.c: Likewise.
* streams/fdetach.c: Likewise.
* streams/getmsg.c: Likewise.
* streams/getpmsg.c: Likewise.
* streams/putmsg.c: Likewise.
* streams/putpmsg.c: Likewise.
* sysdeps/unix/bsd/getpt.c: Likewise.
* sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
* sysdeps/unix/sysv/linux/futimens.c: Likewise.
* sysdeps/unix/sysv/linux/lutimes.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
Likewise.
* sysdeps/unix/sysv/linux/readahead.c: Likewise.
* sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
* sysdeps/unix/sysv/linux/utimensat.c: Likewise.
* sysvipc/msgctl.c: Likewise.
* sysvipc/msgget.c: Likewise.
* sysvipc/msgrcv.c: Likewise.
* sysvipc/msgsnd.c: Likewise.
* sysvipc/semctl.c: Likewise.
* sysvipc/semget.c: Likewise.
* sysvipc/semop.c: Likewise.
* sysvipc/semtimedop.c: Likewise.
* sysvipc/shmat.c: Likewise.
* sysvipc/shmctl.c: Likewise.
* sysvipc/shmdt.c: Likewise.
* sysvipc/shmget.c: Likewise.
* termios/tcdrain.c: Likewise.
* termios/tcflow.c: Likewise.
* termios/tcflush.c: Likewise.
* termios/tcgetattr.c: Likewise.
* termios/tcgetpgrp.c: Likewise.
* termios/tcsendbrk.c: Likewise.
* termios/tcsetattr.c: Likewise.
* termios/tcsetpgrp.c: Likewise.
* time/adjtime.c: Likewise.
* time/clock.c: Likewise.
* time/getitimer.c: Likewise.
* time/gettimeofday.c: Likewise.
* time/setitimer.c: Likewise.
* time/settimeofday.c: Likewise.
* time/stime.c: Likewise.
* time/time.c: Likewise.
2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
* sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
/usr/old/bin.

View File

@ -1310,9 +1310,7 @@ common-clean: common-mostlyclean
-rm -f $(gen-as-const-headers:%.sym=$(common-objpfx)%.h)
# Produce a file `stubs' which contains `#define __stub_FUNCTION'
# for each function which is a stub. We grovel over all the .d files
# looking for references to <stub-tag.h>. Then we grovel over each
# referenced source file to see what stub function it defines.
# for each function which is a stub.
ifdef objpfx
.PHONY: stubs # The parent Makefile calls this target.

View File

@ -31,4 +31,3 @@ __closedir (DIR *dirp)
weak_alias (__closedir, closedir)
stub_warning (closedir)
#include <stub-tag.h>

View File

@ -29,4 +29,3 @@ dirfd (dirp)
}
stub_warning (dirfd)
#include <stub-tag.h>

View File

@ -31,4 +31,3 @@ __fdopendir (int fd)
weak_alias (__fdopendir, fdopendir)
stub_warning (fdopendir)
#include <stub-tag.h>

View File

@ -33,4 +33,3 @@ __getdirentries (fd, buf, nbytes, basep)
weak_alias (__getdirentries, getdirentries)
stub_warning (getdirentries)
#include <stub-tag.h>

View File

@ -32,4 +32,3 @@ getdirentries64 (fd, buf, nbytes, basep)
}
stub_warning (getdirentries64)
#include <stub-tag.h>

View File

@ -38,4 +38,3 @@ __opendir (const char *name)
weak_alias (__opendir, opendir)
stub_warning (opendir)
#include <stub-tag.h>

View File

@ -29,4 +29,3 @@ __readdir (DIR *dirp)
weak_alias (__readdir, readdir)
stub_warning (readdir)
#include <stub-tag.h>

View File

@ -28,4 +28,3 @@ __readdir64 (DIR *dirp)
}
weak_alias (__readdir64, readdir64)
stub_warning (readdir64)
#include <stub-tag.h>

View File

@ -29,4 +29,3 @@ readdir64_r (DIR *dirp, struct dirent64 *entry, struct dirent64 **result)
return -1;
}
stub_warning (readdir64_r)
#include <stub-tag.h>

View File

@ -31,4 +31,3 @@ __readdir_r (DIR *dirp, struct dirent *entry, struct dirent **result)
weak_alias (__readdir_r, readdir_r)
stub_warning (readdir_r)
#include <stub-tag.h>

View File

@ -32,4 +32,3 @@ libc_hidden_def (rewinddir)
stub_warning (rewinddir)
#include <stub-tag.h>

View File

@ -37,4 +37,3 @@ seekdir (dirp, pos)
stub_warning (seekdir)
#include <stub-tag.h>

View File

@ -37,4 +37,3 @@ telldir (dirp)
stub_warning (telldir)
#include <stub-tag.h>

View File

@ -38,4 +38,3 @@ __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>

View File

@ -31,4 +31,3 @@ setgroups (n, groups)
libc_hidden_def (setgroups)
stub_warning (setgroups)
#include <stub-tag.h>

View File

@ -1,4 +0,0 @@
/* This header is included into every file that declares a stub function.
It is obsolete now, but hasn't died to avoid removing all those
#include's. Every such file should use the `stub_warning' macro for
each of its functions, and that is sufficient. */

View File

@ -50,7 +50,6 @@ if_nameindex (void)
return NULL;
}
stub_warning (if_nameindex)
#include <stub-tag.h>
#if 0
void

View File

@ -37,4 +37,3 @@ __access (file, type)
stub_warning (access)
weak_alias (__access, access)
#include <stub-tag.h>

View File

@ -36,4 +36,3 @@ __chdir (path)
stub_warning (chdir)
weak_alias (__chdir, chdir)
#include <stub-tag.h>

View File

@ -38,4 +38,3 @@ __chmod (file, mode)
stub_warning (chmod)
weak_alias (__chmod, chmod)
#include <stub-tag.h>

View File

@ -41,4 +41,3 @@ libc_hidden_def (__chown)
stub_warning (chown)
weak_alias (__chown, chown)
#include <stub-tag.h>

View File

@ -36,4 +36,3 @@ libc_hidden_def (__close)
stub_warning (close)
weak_alias (__close, close)
#include <stub-tag.h>

View File

@ -30,4 +30,3 @@ __dup (fd)
stub_warning (dup)
weak_alias (__dup, dup)
#include <stub-tag.h>

View File

@ -44,4 +44,3 @@ libc_hidden_def (__dup2)
stub_warning (dup2)
weak_alias (__dup2, dup2)
#include <stub-tag.h>

View File

@ -45,5 +45,3 @@ __dup3 (fd, fd2, flags)
libc_hidden_def (__dup3)
weak_alias (__dup3, dup3)
stub_warning (dup3)
#include <stub-tag.h>

View File

@ -38,4 +38,3 @@ weak_alias (__euidaccess, euidaccess)
weak_alias (__euidaccess, eaccess)
stub_warning (euidaccess)
stub_warning (eaccess)
#include <stub-tag.h>

View File

@ -46,5 +46,3 @@ faccessat (fd, file, type, flag)
return -1;
}
stub_warning (faccessat)
#include <stub-tag.h>

View File

@ -29,4 +29,3 @@ fchdir (fd)
}
stub_warning (fchdir)
#include <stub-tag.h>

View File

@ -38,4 +38,3 @@ __fchmod (fd, mode)
stub_warning (fchmod)
weak_alias (__fchmod, fchmod)
#include <stub-tag.h>

View File

@ -46,5 +46,3 @@ fchmodat (fd, file, mode, flag)
return -1;
}
stub_warning (fchmodat)
#include <stub-tag.h>

View File

@ -39,4 +39,3 @@ __fchown (fd, owner, group)
stub_warning (fchown)
weak_alias (__fchown, fchown)
#include <stub-tag.h>

View File

@ -46,5 +46,3 @@ fchownat (fd, file, owner, group, flag)
return -1;
}
stub_warning (fchownat)
#include <stub-tag.h>

View File

@ -37,4 +37,3 @@ libc_hidden_def (__fcntl)
stub_warning (fcntl)
weak_alias (__fcntl, fcntl)
#include <stub-tag.h>

View File

@ -32,4 +32,3 @@ __flock (fd, operation)
weak_alias (__flock, flock)
stub_warning (flock)
#include <stub-tag.h>

View File

@ -30,4 +30,3 @@ __fstatfs (int fd, struct statfs *buf)
stub_warning (fstatfs)
weak_alias (__fstatfs, fstatfs)
#include <stub-tag.h>

View File

@ -28,4 +28,3 @@ __fstatfs64 (int fd, struct statfs64 *buf)
weak_alias (__fstatfs64, fstatfs64)
stub_warning (fstatfs64)
#include <stub-tag.h>

View File

@ -29,4 +29,3 @@ __fstatvfs (int fd, struct statvfs *buf)
stub_warning (fstatvfs)
weak_alias (__fstatvfs, fstatvfs)
libc_hidden_weak (fstatvfs)
#include <stub-tag.h>

View File

@ -28,4 +28,3 @@ __fstatvfs64 (int fd, struct statvfs64 *buf)
weak_alias (__fstatvfs64, fstatvfs64)
stub_warning (fstatvfs64)
#include <stub-tag.h>

View File

@ -32,4 +32,3 @@ futimens (int fd, const struct timespec tsp[2])
return -1;
}
stub_warning (futimens)
#include <stub-tag.h>

View File

@ -46,4 +46,3 @@ __fxstat (int vers, int fd, struct stat *buf)
stub_warning (fstat)
hidden_def (__fxstat)
weak_alias (__fxstat, _fxstat)
#include <stub-tag.h>

View File

@ -45,4 +45,3 @@ __fxstat64 (int vers, int fd, struct stat64 *buf)
}
hidden_def (__fxstat64)
stub_warning (fstat64)
#include <stub-tag.h>

View File

@ -46,4 +46,3 @@ __fxstatat (int vers, int fd, const char *filename, struct stat *buf, int flag)
}
libc_hidden_def (__fxstatat)
stub_warning (fstatat)
#include <stub-tag.h>

View File

@ -47,4 +47,3 @@ __fxstatat64 (int vers, int fd, const char *filename, struct stat64 *buf,
}
libc_hidden_def (__fxstatat64)
stub_warning (fstatat64)
#include <stub-tag.h>

View File

@ -36,4 +36,3 @@ weak_alias (__getcwd, getcwd)
stub_warning (__getcwd)
stub_warning (getcwd)
#include <stub-tag.h>

View File

@ -30,4 +30,3 @@ __isatty (fd)
weak_alias (__isatty, isatty)
stub_warning (isatty)
#include <stub-tag.h>

View File

@ -29,4 +29,3 @@ lchmod (const char *file, mode_t mode)
}
stub_warning (lchmod)
#include <stub-tag.h>

View File

@ -39,4 +39,3 @@ __lchown (file, owner, group)
stub_warning (lchown)
weak_alias (__lchown, lchown)
#include <stub-tag.h>

View File

@ -38,4 +38,3 @@ __link (from, to)
stub_warning (link)
weak_alias (__link, link)
#include <stub-tag.h>

View File

@ -47,5 +47,3 @@ linkat (fromfd, from, tofd, to, flags)
return -1;
}
stub_warning (linkat)
#include <stub-tag.h>

View File

@ -49,4 +49,3 @@ stub_warning (lseek)
libc_hidden_def (__lseek)
weak_alias (__lseek, lseek)
#include <stub-tag.h>

View File

@ -45,4 +45,3 @@ __libc_lseek64 (int fd, off64_t offset, int whence)
weak_alias (__libc_lseek64, __lseek64)
weak_alias (__libc_lseek64, lseek64)
stub_warning (lseek64)
#include <stub-tag.h>

View File

@ -35,4 +35,3 @@ __lxstat64 (int vers, const char *file, struct stat64 *buf)
}
hidden_def (__lxstat64)
stub_warning (__lxstat64)
#include <stub-tag.h>

View File

@ -39,4 +39,3 @@ __mkdir (path, mode)
stub_warning (mkdir)
weak_alias (__mkdir, mkdir)
#include <stub-tag.h>

View File

@ -53,5 +53,3 @@ mkdirat (fd, path, mode)
return -1;
}
stub_warning (mkdirat)
#include <stub-tag.h>

View File

@ -39,4 +39,3 @@ mkfifo (path, mode)
stub_warning (mkfifo)
#include <stub-tag.h>

View File

@ -56,4 +56,3 @@ mkfifoat (fd, path, mode)
stub_warning (mkfifoat)
#include <stub-tag.h>

View File

@ -69,5 +69,3 @@ __open_2 (file, oflag)
return __open (file, oflag);
}
stub_warning (__open_2)
#include <stub-tag.h>

View File

@ -66,5 +66,3 @@ __open64_2 (file, oflag)
return __open64 (file, oflag);
}
stub_warning (__open64_2)
#include <stub-tag.h>

View File

@ -88,5 +88,3 @@ __openat_2 (fd, file, oflag)
return __openat (fd, file, oflag);
}
stub_warning (__openat_2)
#include <stub-tag.h>

View File

@ -81,5 +81,3 @@ __openat64_2 (fd, file, oflag)
return __openat64 (fd, file, oflag);
}
stub_warning (__openat_2)
#include <stub-tag.h>

View File

@ -40,4 +40,3 @@ libc_hidden_def (__pipe)
stub_warning (pipe)
weak_alias (__pipe, pipe)
#include <stub-tag.h>

View File

@ -39,5 +39,3 @@ __pipe2 (pipedes, flags)
}
weak_alias (__pipe2, pipe2)
stub_warning (pipe2)
#include <stub-tag.h>

View File

@ -35,4 +35,3 @@ poll (fds, nfds, timeout)
}
stub_warning (poll)
#include <stub-tag.h>

View File

@ -27,4 +27,3 @@ posix_fadvise (int fd, __off_t offset, __off_t len, int advise)
return ENOSYS;
}
stub_warning (posix_fadvise)
#include <stub-tag.h>

View File

@ -27,4 +27,3 @@ posix_fadvise64 (int fd, __off64_t offset, __off64_t len, int advise)
return ENOSYS;
}
stub_warning (posix_fadvise64)
#include <stub-tag.h>

View File

@ -27,4 +27,3 @@ posix_fallocate (int fd, __off_t offset, __off_t len)
return -1;
}
stub_warning (posix_fallocate)
#include <stub-tag.h>

View File

@ -27,4 +27,3 @@ posix_fallocate64 (int fd, __off64_t offset, __off64_t len)
return -1;
}
stub_warning (posix_fallocate64)
#include <stub-tag.h>

View File

@ -45,4 +45,3 @@ stub_warning (read)
weak_alias (__libc_read, __read)
libc_hidden_weak (__read)
weak_alias (__libc_read, read)
#include <stub-tag.h>

View File

@ -33,4 +33,3 @@ __readlink (path, buf, len)
stub_warning (readlink)
weak_alias (__readlink, readlink)
#include <stub-tag.h>

View File

@ -46,5 +46,3 @@ readlinkat (fd, path, buf, len)
}
stub_warning (readlinkat)
libc_hidden_def (readlinkat)
#include <stub-tag.h>

View File

@ -37,4 +37,3 @@ __rmdir (path)
stub_warning (rmdir)
weak_alias (__rmdir, rmdir)
#include <stub-tag.h>

View File

@ -28,5 +28,3 @@ sendfile (int out_fd, int in_fd, off_t *offset, size_t count)
return -1;
}
stub_warning (sendfile)
#include <stub-tag.h>

View File

@ -28,5 +28,3 @@ sendfile64 (int out_fd, int in_fd, off64_t *offset, size_t count)
return -1;
}
stub_warning (sendfile64)
#include <stub-tag.h>

View File

@ -31,4 +31,3 @@ libc_hidden_def (__statfs)
weak_alias (__statfs, statfs)
stub_warning (statfs)
#include <stub-tag.h>

View File

@ -28,4 +28,3 @@ __statfs64 (const char *file, struct statfs64 *buf)
weak_alias (__statfs64, statfs64)
stub_warning (statfs64)
#include <stub-tag.h>

View File

@ -30,4 +30,3 @@ __statvfs (const char *file, struct statvfs *buf)
weak_alias (__statvfs, statvfs)
libc_hidden_weak (statvfs)
stub_warning (statvfs)
#include <stub-tag.h>

View File

@ -28,4 +28,3 @@ __statvfs64 (const char *file, struct statvfs64 *buf)
weak_alias (__statvfs64, statvfs64)
stub_warning (statvfs64)
#include <stub-tag.h>

View File

@ -38,4 +38,3 @@ __symlink (from, to)
stub_warning (symlink)
weak_alias (__symlink, symlink)
#include <stub-tag.h>

View File

@ -44,5 +44,3 @@ symlinkat (from, fd, to)
return -1;
}
stub_warning (symlinkat)
#include <stub-tag.h>

View File

@ -34,4 +34,3 @@ ttyname (fd)
stub_warning (ttyname)
#include <stub-tag.h>

View File

@ -33,4 +33,3 @@ __ttyname_r (fd, buf, buflen)
weak_alias (__ttyname_r, ttyname_r)
stub_warning (ttyname_r)
#include <stub-tag.h>

View File

@ -30,4 +30,3 @@ __umask (mask)
stub_warning (umask)
weak_alias (__umask, umask)
#include <stub-tag.h>

View File

@ -37,4 +37,3 @@ __unlink (name)
stub_warning (unlink)
weak_alias (__unlink, unlink)
#include <stub-tag.h>

View File

@ -44,5 +44,3 @@ unlinkat (fd, name, flag)
return -1;
}
stub_warning (unlinkat)
#include <stub-tag.h>

View File

@ -39,4 +39,3 @@ utime (file, times)
libc_hidden_def (utime)
stub_warning (utime)
#include <stub-tag.h>

View File

@ -30,4 +30,3 @@ utimensat (int fd, const char *file, const struct timespec tsp[2],
return -1;
}
stub_warning (utimensat)
#include <stub-tag.h>

View File

@ -46,4 +46,3 @@ stub_warning (write)
weak_alias (__libc_write, __write)
libc_hidden_weak (__write)
weak_alias (__libc_write, write)
#include <stub-tag.h>

View File

@ -38,4 +38,3 @@ stub_warning (__xmknod)
weak_alias (__xmknod, _xmknod)
libc_hidden_def (__xmknod)
#include <stub-tag.h>

View File

@ -60,4 +60,3 @@ __xmknodat (int vers, int fd, const char *path, mode_t mode, dev_t *dev)
stub_warning (__xmknodat)
libc_hidden_def (__xmknodat)
#include <stub-tag.h>

View File

@ -35,4 +35,3 @@ __xstat (int vers, const char *file, struct stat *buf)
hidden_def (__xstat)
stub_warning (stat)
weak_alias (__xstat, _xstat)
#include <stub-tag.h>

View File

@ -34,4 +34,3 @@ __xstat64 (int vers, const char *file, struct stat64 *buf)
}
hidden_def (__xstat64)
stub_warning (stat64)
#include <stub-tag.h>

View File

@ -41,4 +41,3 @@ weak_alias (__posix_openpt, posix_openpt)
stub_warning (getpt)
stub_warning (posix_openpt)
#include <stub-tag.h>

View File

@ -31,4 +31,3 @@ grantpt (fd)
}
stub_warning (grantpt)
#include <stub-tag.h>

View File

@ -31,4 +31,3 @@ unlockpt (fd)
}
stub_warning (unlockpt)
#include <stub-tag.h>

View File

@ -247,8 +247,7 @@ particular machine or operating system. Stub functions always return an
error, and set @code{errno} to @code{ENOSYS} (Function not implemented).
@xref{Error Reporting}. If you define a stub function, you must place
the statement @code{stub_warning(@var{function})}, where @var{function}
is the name of your function, after its definition; also, you must
include the file @code{<stub-tag.h>} into your file. This causes the
is the name of your function, after its definition. This causes the
function to be listed in the installed @code{<gnu/stubs.h>}, and
makes GNU ld warn when the function is used.

View File

@ -12,4 +12,3 @@ __ieee754_acoshl (long double x)
strong_alias (__ieee754_acoshl, __acoshl_finite)
stub_warning (acoshl)
#include <stub-tag.h>

View File

@ -12,4 +12,3 @@ __ieee754_acosl (long double x)
strong_alias (__ieee754_acosl, __acosl_finite)
stub_warning (acosl)
#include <stub-tag.h>

View File

@ -12,4 +12,3 @@ __ieee754_asinl (long double x)
strong_alias (__ieee754_asinl, __asinl_finite)
stub_warning (asinl)
#include <stub-tag.h>

Some files were not shown because too many files have changed in this diff Show More