Cover the ELF headers with the text segment so that they get loaded
into memory. This brings us in line with the other architectures and more easily allows us to do machine dependent processing on the ELF file (such as scanning for unwind information).
This commit is contained in:
parent
4b70617d04
commit
5d3ac4cae7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105377
@ -7,7 +7,7 @@ kernel_text = 0xe000000000500000;
|
||||
SECTIONS
|
||||
{
|
||||
/* Read-only sections, merged into text segment: */
|
||||
. = 0xe000000000500000;
|
||||
. = kernel_text + SIZEOF_HEADERS;
|
||||
|
||||
.text :
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user