lkml.org 
[lkml]   [1999]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: FYI: dependencies in 2.2.12 (drivers/char)
Hi Ulrich,

> But when even the versioned symbols did not change?

Yes.

> I think it could be done better...

Yes. Me too.

CONFIG_MODVERSIONS has the following information flow:

public symbol information goes from foo.c to include/linux/modules/foo.ver
then external information flows from i/l/m/foo.ver to mod_bar.o

Thus, mod_bar.o contains information from all the foo.c files all over
the kernel that define symbols. This design is the root of the problem,
and it's why the CONFIG_MODVERSIONS section of Rules.make is such a mess
and has so many bugs.

I have some design ideas for fixing this but it's a long ways from a
usable patch. Basically, I want the symbols in mod_bar.o to come from
information in mod_bar.c and files that mod_bar.c includes, such as
foo.h.

Michael Elizabeth Chastain
<mailto:mec@shout.net>
"love without fear"

-
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:54    [W:2.002 / U:0.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site