lkml.org 
[lkml]   [1998]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Patch for Makefile to improve linkability of the kernel
Date
> > > 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/

\
 
 \ /
  Last update: 2005-03-22 13:46    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site