Fix text boot section at bin start

This commit is contained in:
Mathieu Maret 2022-03-20 21:46:11 +01:00 committed by Mathieu Maret
parent ad5210eb86
commit 3f3fb3b138

View File

@ -7,7 +7,9 @@ MEMORY
SECTIONS
{
.text : { *(.text .text.*) }
.text : { *(.text.boot)
*(.text)
}
.rodata : { *(.rodata .rodata.*) }
.data : { *(.data .data.*) }
@ -27,6 +29,6 @@ SECTIONS
{
*(.comment) *(.gnu) *(.note*) *(.eh_frame*)
}
}
__bss_size = (__bss_end - __bss_start) >> 3;
__bss_size = (__bss_end - __bss_start) >> 3;
}