소스 검색

sinclairql: make sure the end of bss (hence the bss size) is also aligned to two bytes

git-svn-id: trunk@49380 -
Károly Balogh 4 년 전
부모
커밋
906d0ba06e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      compiler/systems/t_sinclairql.pas

+ 1 - 0
compiler/systems/t_sinclairql.pas

@@ -224,6 +224,7 @@ begin
       Add('  .bss (NOLOAD): {');
       Add('      _sbss = .;');
       Add('      *(.bss .bss.*)');
+      Add('      . = ALIGN(2); SHORT(0x0000);');
       Add('      _ebss = .;');
       Add('  } :'+ProgramHeaderName);
       Add('}');