瀏覽代碼

* changed ELF relocation type to longword, as required for 64 bit targets
(patch by Edmund Grimley Evans)

git-svn-id: trunk@30889 -

Jonas Maebe 10 年之前
父節點
當前提交
095f308935
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      packages/fcl-res/src/elfsubwriter.inc
  2. 1 1
      packages/fcl-res/src/elfwriter.pp

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

@@ -27,7 +27,7 @@ type
   _TElfRelocTable_= class
   private
     fList : TFPList;
-    fRelocType : byte;
+    fRelocType : longword;
     fEntrySize : integer;
     fSectionType : integer;
     fSectionName : string;

+ 1 - 1
packages/fcl-res/src/elfwriter.pp

@@ -155,7 +155,7 @@ type
 
 type
   TElfRelocInfo = record
-    RelocType : byte;
+    RelocType : longword;
     SectionType : integer;
   end;
 (*