Re: [PATCH] Re: 2.5.7-pre2 -- kernel.o(.data+0x300): undefined

Linus Torvalds (torvalds@transmeta.com)
Sat, 16 Mar 2002 10:15:33 -0800 (PST)


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

How true is that these days, though? We are at the point where we don't
have to worry about COFF and a.out architectures (as far as the kernel is
concerned, of course - whatever binftm format is loaded in user mode is a
different thing).

On a related tangent - maybe we should just get rid of SYMBOL_NAME etc
crap? I don't think we've been able to compile a a.out kernel in about 5
years or so, and that was the only thing that needed the magic prepended
underscores etc?

Linus

-
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/