Re: Patch for Makefile to improve linkability of the kernel

H. Peter Anvin (hpa@transmeta.com)
Mon, 14 Dec 1998 09:40:40 -0800 (PST)


> > > One way of solving this kind a stuff is to modify the linking order. This is
> > > uggly and even circular dependencies might exist. the "--start-group ....
> > > --end-group" aproach seems like a clean, tool-based solution:
> > >
> >
> > A much better idea is to use ld -r and use .o files instead of .a
> > files.
>
> No its not. You want archives so you dont simply link the entire mess
> into the kernel. The same reason you want static libc as an archive of
> object modules not a single .o
>

Obviously, but there are cases in the kernel (filesystems, for
example), where .a's are used where .o's would make more sense.

-hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/