aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/modpost.h
diff options
context:
space:
mode:
authorRam Pai <linuxram@us.ibm.com>2006-06-09 01:12:53 -0400
committerSam Ravnborg <sam@mars.ravnborg.org>2006-06-09 14:33:10 -0400
commitbd5cbcedf446e2f37cf2a37f533a7e1d7dff9312 (patch)
tree97cf8ea555684697b50a9444d75c33d28af0f0f4 /scripts/mod/modpost.h
parent031ecc6de7d17752c57720a118a37e97a8454872 (diff)
kbuild: export-type enhancement to modpost.c
This patch provides the ability to identify the export-type of each exported symbols in Module.symvers. NOTE: It updates the Module.symvers file with the additional information as shown below. 0x0f8b92af platform_device_add_resources vmlinux EXPORT_SYMBOL_GPL 0xcf7efb2a ethtool_op_set_tx_csum vmlinux EXPORT_SYMBOL Signed-off-by: Andreas Gruenbacher <agruen@suse.de> Signed-off-by: Ram Pai <linuxram@us.ibm.com> Signed-off-by: Avantika Mathur <mathur@us.ibm.com> Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/mod/modpost.h')
-rw-r--r--scripts/mod/modpost.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/mod/modpost.h b/scripts/mod/modpost.h
index 861d866fcd83..f7ee3a3fde14 100644
--- a/scripts/mod/modpost.h
+++ b/scripts/mod/modpost.h
@@ -115,6 +115,9 @@ struct elf_info {
115 Elf_Shdr *sechdrs; 115 Elf_Shdr *sechdrs;
116 Elf_Sym *symtab_start; 116 Elf_Sym *symtab_start;
117 Elf_Sym *symtab_stop; 117 Elf_Sym *symtab_stop;
118 Elf_Section export_sec;
119 Elf_Section export_gpl_sec;
120 Elf_Section export_gpl_future_sec;
118 const char *strtab; 121 const char *strtab;
119 char *modinfo; 122 char *modinfo;
120 unsigned int modinfo_len; 123 unsigned int modinfo_len;