base-linux: ld.lib.so loads dynamic binaries

For ARM support on N900, commit 4a9b1c6 changed the process library to
start dynamic binaries directly depending on the Linux kernel to comply
to the interp section info ("ld.lib.so"). This seems not required on
more recent platforms or kernel versions and also introduced challenging
corner cases in region handling on Linux. Therefore, this commit
restores the original behavior.
This commit is contained in:
Christian Helmuth 2013-09-06 16:33:29 +02:00
parent 45d0157d87
commit a7c5417369
1 changed files with 1 additions and 7 deletions

View File

@ -70,13 +70,7 @@ Process::Process(Dataspace_capability elf_data_ds_cap,
PERR("Dynamically linked file found, but no dynamic linker binary present");
return;
}
/*
* Starting the dynamic linker directly may cause it to be loaded at the
* wrong address on ARM-Linux. But since the dynamically linked
* application has a dynamic linker (by default ld.lib.so) defined as its
* interpreter in the ELF image, it's okay to just start the application
* directly on Linux.
*/
elf_data_ds_cap = _dynamic_linker_cap;
}
/*