From 5d3ac4cae732a12ca0884d80b288c90ca502986a Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Fri, 18 Oct 2002 04:46:36 +0000 Subject: [PATCH] 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). --- sys/conf/ldscript.ia64 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/conf/ldscript.ia64 b/sys/conf/ldscript.ia64 index ad3acad0c864..a31aa5645ec1 100644 --- a/sys/conf/ldscript.ia64 +++ b/sys/conf/ldscript.ia64 @@ -7,7 +7,7 @@ kernel_text = 0xe000000000500000; SECTIONS { /* Read-only sections, merged into text segment: */ - . = 0xe000000000500000; + . = kernel_text + SIZEOF_HEADERS; .text : {