Browse Source

* 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 years ago
parent
commit
095f308935
2 changed files with 2 additions and 2 deletions
  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;
 (*