Change the kernel layout to match Linux/ia64 more closely. This prevents

the Linux loader from corrupting our text section when it attempts to
write out boot options.
This commit is contained in:
Doug Rabson 2001-03-09 13:47:25 +00:00
parent 2af41c92e8
commit 9c738f3e82

View file

@ -8,6 +8,17 @@ SECTIONS
{
/* Read-only sections, merged into text segment: */
. = 0xe000000000500000;
.text :
{
*(.text.ivt)
. += 8192;
*(.text)
*(.stub)
/* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning)
*(.gnu.linkonce.t*)
} =0x47ff041f
.interp : { *(.interp) }
.hash : { *(.hash) }
.dynsym : { *(.dynsym) }
@ -42,14 +53,6 @@ SECTIONS
.rel.plt : { *(.rel.plt) }
.rela.plt : { *(.rela.plt) }
.init : { *(.init) } =0x47ff041f
.text :
{
*(.text)
*(.stub)
/* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning)
*(.gnu.linkonce.t*)
} =0x47ff041f
_etext = .;
PROVIDE (etext = .);
.fini : { *(.fini) } =0x47ff041f