diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-generic/u-boot.lds.h | 2 | ||||
-rw-r--r-- | include/module.h | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/asm-generic/u-boot.lds.h b/include/asm-generic/u-boot.lds.h index f01fc84cd3..e24181a5c9 100644 --- a/include/asm-generic/u-boot.lds.h +++ b/include/asm-generic/u-boot.lds.h @@ -11,4 +11,4 @@ #define U_BOOT_CMDS *(SORT_BY_NAME(.u_boot_cmd*)) -#define U_BOOT_SYMS *(__u_boot_symtab) +#define U_BOOT_SYMS *(__usymtab) 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, "") |