diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-10-07 14:32:08 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2007-10-07 14:32:08 +0200 |
commit | 236d55a06a61d8768124809c97fccd432df47260 (patch) | |
tree | 204e37a13e81cfcd6cada4e3159d6460ff91735e /include/module.h | |
parent | 2443c7a6f12bc330fcf88949786703d358f2f771 (diff) | |
download | barebox-236d55a06a61d8768124809c97fccd432df47260.tar.gz barebox-236d55a06a61d8768124809c97fccd432df47260.tar.xz |
__u_boot__symtab -> __usymtab
Diffstat (limited to 'include/module.h')
-rw-r--r-- | include/module.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/module.h b/include/module.h index ba15ccd4ad..f24b983836 100644 --- a/include/module.h +++ b/include/module.h @@ -19,13 +19,13 @@ struct kernel_symbol /* For every exported symbol, place a struct in the __ksymtab section */ #define __EXPORT_SYMBOL(sym, sec) \ extern typeof(sym) sym; \ - static const char __u_boot_strtab_##sym[] \ - __attribute__((section("__u_boot_symtab_strings"))) \ + static const char __ustrtab_##sym[] \ + __attribute__((section("__usymtab_strings"))) \ = MODULE_SYMBOL_PREFIX #sym; \ - static const struct kernel_symbol __u_boot_symtab_##sym \ + static const struct kernel_symbol __usymtab_##sym \ __used \ - __attribute__((section("__u_boot_symtab" sec), unused)) \ - = { (unsigned long)&sym, __u_boot_strtab_##sym } + __attribute__((section("__usymtab" sec), unused)) \ + = { (unsigned long)&sym, __ustrtab_##sym } #define EXPORT_SYMBOL(sym) \ __EXPORT_SYMBOL(sym, "") |