diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-03-13 10:02:17 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-05-01 13:14:59 +0200 |
commit | ea01e798e2d27fd04142e0473ca36570fa9d9218 (patch) | |
tree | 717ad87d4c38dd6bed15ba4dfdfaea8f33411367 /include | |
parent | module: make module_sect_attrs private to kernel/module.c (diff) | |
download | linux-ea01e798e2d27fd04142e0473ca36570fa9d9218.tar.xz linux-ea01e798e2d27fd04142e0473ca36570fa9d9218.zip |
module: reduce module image and resident size
Resulting reduction (x86-64, gcc 4.1.2) with my (special purpose, i.e.
much reduced) configurations:
- 16k kernel resident size
- 180k module resident size
- 10k module image size
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/module.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index a29c2ebb7c38..3e03b1acbc94 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -190,7 +190,7 @@ void *__symbol_get_gpl(const char *symbol); extern typeof(sym) sym; \ __CRC_SYMBOL(sym, sec) \ static const char __kstrtab_##sym[] \ - __attribute__((section("__ksymtab_strings"))) \ + __attribute__((section("__ksymtab_strings"), aligned(1))) \ = MODULE_SYMBOL_PREFIX #sym; \ static const struct kernel_symbol __ksymtab_##sym \ __used \ |