Explorar el Código

* 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 hace 10 años
padre
commit
5302024e25
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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