mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-20 08:03:56 +00:00
ldso: Make truly self relocatable
On Linux the linker can now be loaded at arbitrary addresses, this became necessary for newer kernel versions. The 'linux_arm' target is not supported. Issue #1728
This commit is contained in:
committed by
Christian Helmuth
parent
e74b53d5dd
commit
41b9f6bd03
@ -20,6 +20,9 @@ SECTIONS
|
||||
{
|
||||
. = 0x40000000;
|
||||
_context_area_start = .;
|
||||
.context_area : { . += 0x10000000; } : context_area
|
||||
_context_area_end = .;
|
||||
/*
|
||||
* Since Linux loads ldso page aligned, we align the context area after
|
||||
* loading to a 1 MiB boundary, therefore we reserve one MiB more here.
|
||||
*/
|
||||
.context_area : { . += 0x10100000; } : context_area
|
||||
}
|
||||
|
@ -16,5 +16,4 @@ SECTIONS
|
||||
. = 0x40000000;
|
||||
_context_area_start = .;
|
||||
.context_area : { . += 0x10000000; }
|
||||
_context_area_end = .;
|
||||
}
|
||||
|
Reference in New Issue
Block a user