link.x: simplify while used with jtag only

This commit is contained in:
Astro 2020-01-31 20:48:01 +01:00
parent 3b657ffef0
commit b5b3cf69f7
1 changed files with 1 additions and 9 deletions

10
link.x
View File

@ -21,17 +21,9 @@ MEMORY
SECTIONS SECTIONS
{ {
.exceptions ORIGIN(OCM) : .text :
{ {
KEEP(*(.text.exceptions)); KEEP(*(.text.exceptions));
} > OCM
.__fill (NOLOAD) : {
. = ORIGIN(OCM) + 0x8000;
} > OCM
.text (ORIGIN(OCM) + 0x8000) :
{
*(.text.boot); *(.text.boot);
*(.text .text.*); *(.text .text.*);
} > OCM } > OCM