Make sure to align at the end of the .text, in case .data bytes will be placed there in flash.

git-svn-id: trunk@39442 -
This commit is contained in:
Jeppe Johansen 2018-07-12 18:52:19 +00:00
parent 374a8281e7
commit 3e2be29030

View File

@ -672,6 +672,7 @@ begin
Add(' *(.strings)');
Add(' *(.rodata .rodata.*)');
Add(' *(.comment)');
Add(' . = ALIGN(4);');
Add(' _etext = .;');
if embedded_controllers[current_settings.controllertype].flashsize<>0 then
begin