summaryrefslogtreecommitdiff
path: root/core/elflink
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@linux.intel.com>2011-06-06 14:12:45 +0100
committerMatt Fleming <matt.fleming@linux.intel.com>2011-06-07 15:59:58 +0100
commit558de6072a2fae89a27d10119b3ea49a4741db16 (patch)
treee7d6bec62b3f64098d0e9aed2fb448c08994eebe /core/elflink
parentef3cb76bffc52b40b9a013f5b16835e062a5db4b (diff)
downloadsyslinux-558de6072a2fae89a27d10119b3ea49a4741db16.tar.gz
ldlinux: Use DT_NEEDED for module dependencies
The ELF file format uses DT_NEEDED entries in the dynamic section to name any shared library dependencies. Instead of rolling our own dependency logic via the modules.dep file and elf_gen_dep.sh script use the DT_NEEDED entries. Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
Diffstat (limited to 'core/elflink')
-rw-r--r--core/elflink/load_env32.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/elflink/load_env32.c b/core/elflink/load_env32.c
index 793ecd5a..e6396534 100644
--- a/core/elflink/load_env32.c
+++ b/core/elflink/load_env32.c
@@ -75,6 +75,5 @@ void load_env32(com32sys_t * regs)
init_module_subsystem(&core_module);
- module_load_dependencies(LDLINUX, "modules.dep");
spawn_load(LDLINUX, 1, argv);
}