<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/mod/modpost.c, branch v2.6.34</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.34</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.34'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2009-12-17T15:23:42Z</updated>
<entry>
<title>Merge branch 'for-33' of git://repo.or.cz/linux-kbuild</title>
<updated>2009-12-17T15:23:42Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2009-12-17T15:23:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5a865c0606eb44d5d12cabb429751c83712183de'/>
<id>urn:sha1:5a865c0606eb44d5d12cabb429751c83712183de</id>
<content type='text'>
* 'for-33' of git://repo.or.cz/linux-kbuild: (29 commits)
  net: fix for utsrelease.h moving to generated
  gen_init_cpio: fixed fwrite warning
  kbuild: fix make clean after mismerge
  kbuild: generate modules.builtin
  genksyms: properly consider  EXPORT_UNUSED_SYMBOL{,_GPL}()
  score: add asm/asm-offsets.h wrapper
  unifdef: update to upstream revision 1.190
  kbuild: specify absolute paths for cscope
  kbuild: create include/generated in silentoldconfig
  scripts/package: deb-pkg: use fakeroot if available
  scripts/package: add KBUILD_PKG_ROOTCMD variable
  scripts/package: tar-pkg: use tar --owner=root
  Kbuild: clean up marker
  net: add net_tstamp.h to headers_install
  kbuild: move utsrelease.h to include/generated
  kbuild: move autoconf.h to include/generated
  drop explicit include of autoconf.h
  kbuild: move compile.h to include/generated
  kbuild: drop include/asm
  kbuild: do not check for include/asm-$ARCH
  ...

Fixed non-conflicting clean merge of modpost.c as per comments from
Stephen Rothwell (modpost.c had grown an include of linux/autoconf.h
that needed to be changed to generated/autoconf.h)
</content>
</entry>
<entry>
<title>modpost: fix segfault with short symbol names</title>
<updated>2009-12-15T05:58:37Z</updated>
<author>
<name>Michal Marek</name>
<email>mmarek@suse.cz</email>
</author>
<published>2009-12-12T11:02:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8d99513c1b76cfd0b2dcf061c5136cb1061e6b37'/>
<id>urn:sha1:8d99513c1b76cfd0b2dcf061c5136cb1061e6b37</id>
<content type='text'>
memcmp() is wrong here, the symbol name can be shorter than KSYMTAB_PFX
or CRC_PFX.

Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>Kbuild: clear marker out of modpost</title>
<updated>2009-12-15T05:58:31Z</updated>
<author>
<name>Wenji Huang</name>
<email>wenji.huang@oracle.com</email>
</author>
<published>2009-11-16T05:49:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a8773769d1a1e08d0ca15f890515401ab3860637'/>
<id>urn:sha1:a8773769d1a1e08d0ca15f890515401ab3860637</id>
<content type='text'>
Remove the unnecessary functions and variables.

Signed-off-by: Wenji Huang &lt;wenji.huang@oracle.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>module: make MODULE_SYMBOL_PREFIX into a CONFIG option</title>
<updated>2009-12-15T05:58:26Z</updated>
<author>
<name>Alan Jenkins</name>
<email>alan-jenkins@tuffmail.co.uk</email>
</author>
<published>2009-11-07T21:03:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9e1b9b80721661bd63b3662453767b22cd614fe7'/>
<id>urn:sha1:9e1b9b80721661bd63b3662453767b22cd614fe7</id>
<content type='text'>
The next commit will require the use of MODULE_SYMBOL_PREFIX in
.tmp_exports-asm.S.  Currently it is mixed in with C structure
definitions in "asm/module.h".  Move the definition of this arch option
into Kconfig, so it can be easily accessed by any code.

This also lets modpost.c use the same definition.  Previously modpost
relied on a hardcoded list of architectures in mk_elfconfig.c.

A build test for blackfin, one of the two MODULE_SYMBOL_PREFIX archs,
showed the generated code was unchanged.  vmlinux was identical save
for build ids, and an apparently randomized suffix on a single "__key"
symbol in the kallsyms data).

Signed-off-by: Alan Jenkins &lt;alan-jenkins@tuffmail.co.uk&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt; (blackfin)
CC: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>Fix all -Wmissing-prototypes warnings in x86 defconfig</title>
<updated>2009-09-23T14:39:28Z</updated>
<author>
<name>Trevor Keith</name>
<email>tsrk@tsrk.net</email>
</author>
<published>2009-09-22T23:43:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5c725138437837291db5c25f4a076ee852e806e3'/>
<id>urn:sha1:5c725138437837291db5c25f4a076ee852e806e3</id>
<content type='text'>
Signed-off-by: Trevor Keith &lt;tsrk@tsrk.net&gt;
Cc: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>kbuild: add hint about __refdata to modpost</title>
<updated>2009-06-09T20:37:53Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@ravnborg.org</email>
</author>
<published>2009-06-05T22:18:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8b8b76c045beb85c1c2b28e07eff6599a1e95cf1'/>
<id>urn:sha1:8b8b76c045beb85c1c2b28e07eff6599a1e95cf1</id>
<content type='text'>
As requested by Guennadi Liakhovetski

Cc: Guennadi Liakhovetski &lt;g.liakhovetski@gmx.de&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>initconst adjustments</title>
<updated>2009-06-09T20:37:43Z</updated>
<author>
<name>Jan Beulich</name>
<email>jbeulich@novell.com</email>
</author>
<published>2009-03-12T10:58:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fd6c3a8dc44329d3aff9a578b5120982f63711ee'/>
<id>urn:sha1:fd6c3a8dc44329d3aff9a578b5120982f63711ee</id>
<content type='text'>
- add .init.rodata to INIT_DATA, and group all initconst flavors
  together
- move strings generated from __setup_param() into .init.rodata
- add .*init.rodata to modpost's sets of init sections
- make modpost warn about references between meminit and cpuinit
  as well as memexit and cpuexit sections (as CPU and memory
  hotplug are independently selectable features)

Signed-off-by: Jan Beulich &lt;jbeulich@novell.com&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild, modpost: fix unexpected non-allocatable warning with mips</title>
<updated>2009-05-04T11:05:26Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@ravnborg.org</email>
</author>
<published>2009-05-04T11:05:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4391ed6aa9a38cdfb48addd7a9b24a2ff099b1a7'/>
<id>urn:sha1:4391ed6aa9a38cdfb48addd7a9b24a2ff099b1a7</id>
<content type='text'>
mips emit the following debug sections:
.mdebug* and .pdr

They were included in the check for non-allocatable section
and caused modpost to warn.

Manuel Lauss suggested to fix this by adding the relevant
sections to the list of sections we do not check.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Reported-by: Manuel Lauss &lt;mano@roarinelk.homelinux.net&gt;
</content>
</entry>
<entry>
<title>kbuild, modpost: fix "unexpected non-allocatable" warning with SUSE gcc</title>
<updated>2009-05-04T11:05:06Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@ravnborg.org</email>
</author>
<published>2009-05-03T20:17:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=028ecebdd83cc4a7f8c7e96e28a5537d2ac98dae'/>
<id>urn:sha1:028ecebdd83cc4a7f8c7e96e28a5537d2ac98dae</id>
<content type='text'>
Jean reported that he saw one warning for each module like the one below:
WARNING: arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.o (.comment.SUSE.OPTs): unexpected non-allocatable section.

The warning appeared with the improved version of the
check of the flags in the sections.

That check already ignored sections named ".comment" - but SUSE store
additional info in the comment section and has named it in a SUSE
specific way. Therefore modpost failed to ignore the section.

The fix is to extend the pattern so we ignore all sections
that start with the name ".comment.".

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Reported-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Tested-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>kbuild, modpost: fix unexpected non-allocatable section when cross compiling</title>
<updated>2009-05-04T11:05:03Z</updated>
<author>
<name>Anders Kaseorg</name>
<email>andersk@MIT.EDU</email>
</author>
<published>2009-05-03T20:02:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7d875a02864a35532543897195dfea2235815df8'/>
<id>urn:sha1:7d875a02864a35532543897195dfea2235815df8</id>
<content type='text'>
The missing TO_NATIVE(sechdrs[i].sh_flags) was causing many
unexpected non-allocatable section warnings when cross-compiling
for an architecture with a different endianness.

Fix endianness of all the fields in the ELF header and
section headers, not just some of them so we are not
hit by this anohter time.

Signed-off-by: Anders Kaseorg &lt;andersk@mit.edu&gt;
Reported-by: Sean MacLennan &lt;smaclennan@pikatech.com&gt;
Tested-by: Sean MacLennan &lt;smaclennan@pikatech.com&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
</feed>
