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:
Marcel Moolenaar 2002-10-18 04:46:36 +00:00
parent 4b70617d04
commit 5d3ac4cae7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105377

View file

@ -7,7 +7,7 @@ kernel_text = 0xe000000000500000;
SECTIONS
{
/* Read-only sections, merged into text segment: */
. = 0xe000000000500000;
. = kernel_text + SIZEOF_HEADERS;
.text :
{