Messages in this thread | | | Date | Sat, 16 Mar 2002 12:39:56 -0500 (EST) | From | Alexander Viro <> | Subject | Re: [PATCH] Re: 2.5.7-pre2 -- kernel.o(.data+0x300): undefined reference |
| |
On Sat, 16 Mar 2002, Alan Cox wrote:
> > +/* "Conditional" syscalls */ > > + > > +asmlinkage long sys_nfsservctl(void) __attribute__ ((weak, alias ("sys_ni_syscall"))); > > +asmlinkage long sys_quotactl(void) __attribute__ ((weak, alias ("sys_ni_syscall"))); > > + > > This is what Linus threw out before - when David wanted to use it to remove > all the intermodule crap. > > It doesn't work with some architecture binutils
Erm... In this case we are within statatically linked image. In which situations it doesn't work? AFAICS it's as straightforward use of weak aliases as it gets...
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |