소스 검색

* set the size of the string table to a multiple of 4 bytes instead of to
a multiple of the data alignment (like the assemblers do)

git-svn-id: trunk@29998 -

Jonas Maebe 10 년 전
부모
커밋
5302024e25
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/fcl-res/src/machosubwriter.inc

+ 1 - 1
packages/fcl-res/src/machosubwriter.inc

@@ -257,7 +257,7 @@ begin
   symcommand.symoff:=fSymbolTable.StartOfs;
   symcommand.nsyms:=fSymbolTable.Count;
   symcommand.stroff:=fMachOStringTable.StartOfs;
-  symcommand.strsize:=NextAligned(fDataAlignment,fMachOStringTable.Size);
+  symcommand.strsize:=NextAligned(4,fMachOStringTable.Size);
 
   if fOppositeEndianess then
   begin