summaryrefslogtreecommitdiff
path: root/core/elflink
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2013-01-17 16:52:20 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2013-01-17 16:52:20 -0800
commit14fe8af6c11e71619de9be1afd4556ebbc770db3 (patch)
treed8e01ae34a8d32e66c41f91d7edc0ff3e5249da7 /core/elflink
parent5361540973da90c1dbde3b4c6c0dab46f997491e (diff)
downloadsyslinux-14fe8af6c11e71619de9be1afd4556ebbc770db3.tar.gz
elf: remove long-since-obsolete shallow module machinery
Meant to handle symbols exported from the core, but we just pregenerate the dynamic section instead. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'core/elflink')
-rw-r--r--core/elflink/load_env32.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/elflink/load_env32.c b/core/elflink/load_env32.c
index 7c0afacf..7a6b08fb 100644
--- a/core/elflink/load_env32.c
+++ b/core/elflink/load_env32.c
@@ -50,10 +50,10 @@ struct elf_module core_module = {
};
/*
- Initializes the module subsystem by taking the core module ( shallow module ) and placing
- it on top of the modules_head_list. Since the core module is initialized when declared
- we technically don't need the exec_init() and module_load_shallow() procedures
-*/
+ * Initializes the module subsystem by taking the core module
+ * (preinitialized shallow module) and placing it on top of the
+ * modules_head_list.
+ */
void init_module_subsystem(struct elf_module *module)
{
list_add(&module->list, &modules_head);