<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/scripts/mksysmap, branch v2.6.23.3</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v2.6.23.3</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v2.6.23.3'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2006-01-09T23:10:13Z</updated>
<entry>
<title>spelling: s/retreive/retrieve/</title>
<updated>2006-01-09T23:10:13Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@stusta.de</email>
</author>
<published>2006-01-09T23:10:13Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=943ffb587cfdf3b2adfe52a6db08573f4ecf3284'/>
<id>urn:sha1:943ffb587cfdf3b2adfe52a6db08573f4ecf3284</id>
<content type='text'>
Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
</content>
</entry>
<entry>
<title>arm: Fix ARM kernel build with permitted binutils versions</title>
<updated>2004-10-27T02:36:12Z</updated>
<author>
<name>Russell King</name>
<email>rmk+lkml@arm.linux.org.uk</email>
</author>
<published>2004-10-27T02:36:12Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ce57f2a048bcf2c755b37944e397bdb71202ec77'/>
<id>urn:sha1:ce57f2a048bcf2c755b37944e397bdb71202ec77</id>
<content type='text'>
All ARM binutils versions post 2.11.90 contains an extra "feature" which
interferes with the kernel in various ways - extra "mapping symbols"
in the ELF symbol table '$a', '$t' and '$d'.  This causes two problems:

1. Since '$a' symbols have the same value as function names, this
   causes anything which uses the kallsyms infrastructure to report
   wrong values.
2. programs which parse System.map do not expect symbols to start with
   '$'.

Signed-off-by: Russell King &lt;rmk@arm.linux.org.uk&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;

===== kernel/module.c 1.120 vs edited =====
</content>
</entry>
<entry>
<title>kbuild: Remove check for undefined symbols in vmlinux</title>
<updated>2004-08-19T01:05:28Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2004-08-19T01:05:28Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ada1bab4401a9fd3a76b498f0c461133b658559b'/>
<id>urn:sha1:ada1bab4401a9fd3a76b498f0c461133b658559b</id>
<content type='text'>
Russell King reported that some gcc / bin-utils combination may result in
undefined symbols in vmlinux and implemented a check for that.
Though the cause is very valid this check has proved to be a real pain
for other users, especially sparc and um.
Short term a similar check is asked to be implemented in arch/arm*/Makefile
and long-term to bail out if too old gcc / bin-utils is used.
Long term plan awaits a new gcc / bin-utils release.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: __crc_* symbols in System.map</title>
<updated>2004-08-13T22:14:30Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2004-08-13T22:14:30Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=29d28b2a027570e81d813f35d466c09ae54f4104'/>
<id>urn:sha1:29d28b2a027570e81d813f35d466c09ae54f4104</id>
<content type='text'>
David S. Miller &lt;davem@redhat.com&gt; wrote:
Shouldn't we be grepping __crc_ symbols out of the System.map file?

For one thing, these can confuse readprofile.  It's algorithm is
to start at _stext, then stop when it sees a line in the System.map
which is not text (mode is one of 'T' 't' 'W' or 'w')

It will exit early if there are some intermixed __crc_* things in
there (since they are are mode 'A').

For example, in my current sparc64 kernel I have this:

00000000004cef80 t do_split
00000000004cf2a0 t add_dirent_to_buf
00000000004cf5a7 A __crc_init_special_inode
00000000004cf640 t make_indexed_dir
00000000004cf900 t ext3_add_entry

So no symbols after add_dirent_to_buf will be shown in the profiling
output of readprofile.

Implementation ported to mksysmap by Sam.
Included two System.map related fixes:
- Print "SYSMAP  System.map" during build
- Sort symbols in System.map

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild/sparc: Use new generic mksysmap script to generate System.map</title>
<updated>2004-08-08T11:34:43Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2004-08-08T11:34:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a66dcfe10a7a3cc5541f1906b6c3d72ae7a941d1'/>
<id>urn:sha1:a66dcfe10a7a3cc5541f1906b6c3d72ae7a941d1</id>
<content type='text'>
o Introduced usage of the mksysmap script.
o Improved the non-verbose output to look like this:
  BTFIX   arch/sparc/boot/btfix.S
  AS      arch/sparc/boot/btfix.o
  LD      arch/sparc/boot/image
  SYSMAP  arch/sparc/boot/System.map

o No longer generate System.map for each build
o Use normal AS rule to compile btfix.S

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: Check for undefined symbols in vmlinux</title>
<updated>2004-08-07T23:35:44Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2004-08-07T23:35:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=1d3fa84da087f3ca352a3f8a8c39b7c7ec14f68d'/>
<id>urn:sha1:1d3fa84da087f3ca352a3f8a8c39b7c7ec14f68d</id>
<content type='text'>
At least one bin-utils version for ARM is know to ignore undefined
symbols when performing the final link of vmlinux.
Add an explicit check for undefined symbols to catch this.
The check is made in combination with generating the System.map file
and the actual algorithm is moved to a small shell script - mksysmap.

External symbols with three leading underscores are ignored - sparc
uses them for the BTFIXUP logic.

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