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
parent 3f619a1fef
commit 3c33647f6d

View file

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