module: reduce string table for loaded modules (v2)

Also remove all parts of the string table (referenced by the symbol
table) that are not needed for kallsyms use (i.e. which were only
referenced by symbols discarded by the previous patch, or not
referenced at all for whatever reason).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Jan Beulich 2009-07-06 14:51:44 +01:00 committed by Rusty Russell
parent 4a4962263f
commit 554bdfe5ac
2 changed files with 57 additions and 13 deletions

View file

@ -315,7 +315,7 @@ struct module
*/
Elf_Sym *symtab, *core_symtab;
unsigned int num_symtab, core_num_syms;
char *strtab;
char *strtab, *core_strtab;
/* Section attributes */
struct module_sect_attrs *sect_attrs;