lkml.org 
[lkml]   [2000]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Remove unneeded symbols from System.map
Date
On Sat, 23 Sep 2000 20:08:25 +0200, 
Daniel Phillips <news-innominate.list.linux.kernel@innominate.de> wrote:
>Keith Owens wrote:
>> Please do not apply. The size of System.map is almost irrelevant.
>> Having the __kstrtab_ and __ksymtab_ symbols in the map helps when
>> debugging EXPORT_SYMBOL problems. I expect that other people find the
>> __device entries to be useful.
>
>Hmmm, this couldn't be the same Keith Owens who claimed that
>System.map is too large to be zipped and appended to bzImage could it?

The size is irrelevant as long as the System.map is separate. Adding
System.map to bzImage changes the criteria for what is "too big".

BTW, modutils 2.3.17 fixes a bug in depmod -F System.map. It used to
extract all global symbols from the map, now it only extracts symbols
that are exported, global or static. And it needs __kstrtab_ to do it
correctly. Removing __kstrtab_ would break modutils 2.3.17.

> $(NM) vmlinux | grep -v -f scripts/System.map-filter | sort >System.map
>
>just a little bit more readable than:
>
> $(NM) vmlinux | grep -v '\(compiled\)\|\(\.o$$\)\|\([aU]\)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map
>
>More flexible too.

I don't object to moving the exclude list to a scripts file, but
excluding symbols that people use is wrong.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.027 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site