|
|
|
[PATCH] CONFIG_RELOCATABLE modpost fix | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Tue, Aug 08, 2006 at 01:59:03PM -0600, Eric W. Biederman wrote: > Sam, Magnus: > > I'm dense. Why do we want to run modpost if we are building a kernel > that doesn't support modules? > > I haven't mucked with modpost at all so I don't have a good feel for > what it does, or why we want to run it. > > My quick skimming says modpost is all about generating the module > version symbol scrambling. Which if that is all it does means it is > senseless to run this without modules. Recently modpost has been enhanced to do section reference checks. So modpost is used to check that there is no references from .text to .init.text - the latter will be freed by the kernel so we better avoid it. The consistency checks does a bit more than just that simple check but this was enough reason to run it twice in the build process. Sam
[Netdev] [Linux Wireless] [Kernel Newbies] [Security] [Linux for Hams] [Netfilter] [Bugtraq] [Photo] [Yosemite] [Yosemite Forum] [MIPS Linux] [ARM Linux] [Linux RAID] [Linux Admin] [Samba] [Linux Media] [Linux Resources]