kern: on second thought, move vectors back to end of text

This commit is contained in:
Michael Scire 2023-10-11 03:01:52 -07:00 committed by SciresM
parent 0daef4a6e8
commit 1491a7b159

View file

@ -29,15 +29,6 @@ SECTIONS
. = ALIGN(8); . = ALIGN(8);
} :code } :code
/* .vectors. */
. = ALIGN(2K);
__vectors_start__ = . ;
.vectors :
{
KEEP( *(.vectors) )
. = ALIGN(8);
} :code
.init : .init :
{ {
KEEP( *(.init) ) KEEP( *(.init) )
@ -67,6 +58,15 @@ SECTIONS
. = ALIGN(8); . = ALIGN(8);
} :code } :code
/* .vectors. */
. = ALIGN(2K);
__vectors_start__ = . ;
.vectors :
{
KEEP( *(.vectors) )
. = ALIGN(8);
} :code
/* =========== RODATA section =========== */ /* =========== RODATA section =========== */
. = ALIGN(0x1000); . = ALIGN(0x1000);
__rodata_start = . ; __rodata_start = . ;