summaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-10-01 10:20:57 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2007-10-01 10:20:57 +0200
commit6b58e74d04e651cb3adf6986a009e68abcb07901 (patch)
tree55c8ad848d6a28dbd715fe83bcdb203d317d0665 /include/asm-generic
parent8b8c95b9fccb86eca260684c597b85ab1882a9ce (diff)
downloadbarebox-6b58e74d04e651cb3adf6986a009e68abcb07901.tar.gz
barebox-6b58e74d04e651cb3adf6986a009e68abcb07901.tar.xz
Resolve the symbols using an extra section and only resolve explicitly
exported symbols. Using kallsyms for this purpose doesn't do it because kallsyms do not resolve variables. Also the symbol table gets quite big using kallsyms.
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/u-boot.lds.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-generic/u-boot.lds.h b/include/asm-generic/u-boot.lds.h
index e8e9ce1276..f01fc84cd3 100644
--- a/include/asm-generic/u-boot.lds.h
+++ b/include/asm-generic/u-boot.lds.h
@@ -10,3 +10,5 @@
*(.initcall.7)
#define U_BOOT_CMDS *(SORT_BY_NAME(.u_boot_cmd*))
+
+#define U_BOOT_SYMS *(__u_boot_symtab)