mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-12 05:41:36 +00:00
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:
parent
45d0157d87
commit
a7c5417369
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user