<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/mod/modpost.c, branch v2.6.19</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.19</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.19'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2006-10-25T01:54:13Z</updated>
<entry>
<title>[POWERPC] Support feature fixups in modules</title>
<updated>2006-10-25T01:54:13Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
<email>benh@kernel.crashing.org</email>
</author>
<published>2006-10-20T01:47:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=21c4ff80cba5e24932f3ef79c8482c0491630b2b'/>
<id>urn:sha1:21c4ff80cba5e24932f3ef79c8482c0491630b2b</id>
<content type='text'>
This patch adds support for feature fixups in modules. This involves
adding support for R_PPC64_REL64 relocs to the 64 bits module loader.
It also modifies modpost.c to ignore the powerpc fixup sections (or it
would warn when used in .init.text).

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Acked-by: Olof Johansson &lt;olof@lixom.net&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>kbuild: fail kernel compilation in case of unresolved module symbols</title>
<updated>2006-09-25T07:14:30Z</updated>
<author>
<name>Kirill Korotaev</name>
<email>dev@openvz.org</email>
</author>
<published>2006-09-07T20:08:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c53ddacdc08d41f812f1e637d214251d14c07a3d'/>
<id>urn:sha1:c53ddacdc08d41f812f1e637d214251d14c07a3d</id>
<content type='text'>
At stage 2 modpost utility is used to check modules.  In case of unresolved
symbols modpost only prints warning.

IMHO it is a good idea to fail compilation process in case of unresolved
symbols (at least in modules coming with kernel), since usually such errors
are left unnoticed, but kernel modules are broken.

- new option '-w' is added to modpost:
  if option is specified, modpost only warns about unresolved symbols

- modpost is called with '-w' for external modules in Makefile.modpost

Signed-off-by: Andrey Mirkin &lt;amirkin@sw.ru&gt;
Signed-off-by: Kirill Korotaev &lt;dev@openvz.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: add missing return statement in modpost.c:secref_whitelist()</title>
<updated>2006-09-25T07:01:49Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2006-08-09T06:23:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=93659af1ce4974b1882668fee06458c0ac9315fd'/>
<id>urn:sha1:93659af1ce4974b1882668fee06458c0ac9315fd</id>
<content type='text'>
Noticed by: Magnus Damm &lt;magnus@valinux.co.jp&gt;

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: ignore references from ".pci_fixup" to ".init.text"</title>
<updated>2006-09-25T07:01:49Z</updated>
<author>
<name>Magnus Damm</name>
<email>magnus@valinux.co.jp</email>
</author>
<published>2006-08-08T08:32:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9e157a5aa899f1ef73780e4755b57ddeb9225079'/>
<id>urn:sha1:9e157a5aa899f1ef73780e4755b57ddeb9225079</id>
<content type='text'>
The modpost code is extended to ignore references
from ".pci_fixup" to ".init.text".

Signed-off-by: Magnus Damm &lt;magnus@valinux.co.jp&gt;
</content>
</entry>
<entry>
<title>kbuild: warn when a moduled uses a symbol marked UNUSED</title>
<updated>2006-07-01T09:44:23Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2006-07-01T09:44:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c96fca213737a5b4bc569e1d9a0ef6adeff661e9'/>
<id>urn:sha1:c96fca213737a5b4bc569e1d9a0ef6adeff661e9</id>
<content type='text'>
We now have infrastructure in place to mark an EXPORTed symbol
as unused. So the natural next step is to warn during buildtime when
a module uses a symbol marked UNUSED.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: fix segv in modpost</title>
<updated>2006-07-01T08:10:19Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2006-07-01T08:10:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=534b89a9f6a86a28300cd71619112c4bbca7c0ae'/>
<id>urn:sha1:534b89a9f6a86a28300cd71619112c4bbca7c0ae</id>
<content type='text'>
Parsing an old Modules.symvers file casued modpost to SEGV.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: replace abort() with exit(1)</title>
<updated>2006-06-24T21:46:54Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2006-06-24T21:46:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6803dc0ea85ad21b2cb3ec88decff5e27d7a390b'/>
<id>urn:sha1:6803dc0ea85ad21b2cb3ec88decff5e27d7a390b</id>
<content type='text'>
We have had no use of the coredump file for a long time.
So just exit(1) and avoid coredumping.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: kill some false positives from modpost</title>
<updated>2006-06-24T21:14:05Z</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2006-06-23T22:22:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=468d949401d729b28eed6ea5be25695c5731d3f1'/>
<id>urn:sha1:468d949401d729b28eed6ea5be25695c5731d3f1</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: fix module.symvers parsing in modpost</title>
<updated>2006-06-16T21:45:45Z</updated>
<author>
<name>Laurent Riffard</name>
<email>laurent.riffard@free.fr</email>
</author>
<published>2006-06-11T06:02:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9ac545b0f7161eaf2e180acc406c1dd6fdd77686'/>
<id>urn:sha1:9ac545b0f7161eaf2e180acc406c1dd6fdd77686</id>
<content type='text'>
read_dump didn't split lines between module name and export type.

Signed-off-by: Laurent Riffard &lt;laurent.riffard@free.fr&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: modpost build fix</title>
<updated>2006-06-10T05:58:14Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2006-06-10T03:45:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6449bd621ba51ef652ac5bda632eeabbc18dd296'/>
<id>urn:sha1:6449bd621ba51ef652ac5bda632eeabbc18dd296</id>
<content type='text'>
scripts/mod/modpost.c: In function `check_license':
scripts/mod/modpost.c:1094: parse error before `const'
scripts/mod/modpost.c:1095: `basename' undeclared (first use in this function)
scripts/mod/modpost.c:1095: (Each undeclared identifier is reported only once
scripts/mod/modpost.c:1095: for each function it appears in.)

Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
</feed>
