Fix: Added ALIGN(8) for __etext section. This existed in mbed-6.3.0 version. I have not verified if it is truly needed, but it is better to err on the safe side.

pull/13979/head
Tauno Magnusson 2020-11-27 23:25:37 +01:00
parent 5bd272aabc
commit 98e48828b1
1 changed files with 5 additions and 0 deletions

View File

@ -111,6 +111,11 @@ SECTIONS
} > FLASH
__exidx_end = .;
/* Location counter can end up 2byte aligned with narrow Thumb code but
__etext is assumed by startup code to be the LMA of a section in RAM
which must be 8-byte aligned */
. = ALIGN(8);
__etext = .;
_sidata = .;