summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorDavid Dgien <dgienda125@gmail.com>2020-06-29 20:38:35 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2020-07-01 07:21:25 +0200
commita53cd2e3ed01c84250350ec1c67c6545da46a3ab (patch)
treedd854841229447b2bbd3a5bdc2bafc82dd07ab76 /common/Kconfig
parent6d42f894eaacd9e00f061d5918f9f58f8be8164e (diff)
downloadbarebox-a53cd2e3ed01c84250350ec1c67c6545da46a3ab.tar.gz
barebox-a53cd2e3ed01c84250350ec1c67c6545da46a3ab.tar.xz
module: Implement HAVE_MOD_ARCH_SPECIFIC
Implement HAVE_MOD_ARCH_SPECIFIC Kconfig and module_frob_arch_sections() function prototype from Linux module subsystem. module_frob_arch_sections() should be implemented by any architecture that selects HAVE_MOD_ARCH_SPECIFIC, and is called from load_module() Signed-off-by: David Dgien <dgienda125@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index ac282d8955..ac772debc9 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -326,6 +326,13 @@ config MODULES
way to compile modules and the list of exported symbols to actually
make use of modules is short to nonexistent
+config HAVE_MOD_ARCH_SPECIFIC
+ bool
+ help
+ The arch uses struct mod_arch_specific to store data. Many arches
+ just need a simple module loader without arch specific data - those
+ should not enable this.
+
config KALLSYMS
depends on HAS_KALLSYMS
bool "kallsyms"