link.x: simplify while used with jtag only

This commit is contained in:
Astro 2020-01-31 20:48:01 +01:00
parent 26c8164837
commit fc91a0427b

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