Răsfoiți Sursa

Fix syntax errors in make fullcycle

Pierre Muller 2 ani în urmă
părinte
comite
ffdb789a49
2 a modificat fișierele cu 9 adăugiri și 9 ștergeri
  1. 1 1
      compiler/ogcoff.pas
  2. 8 8
      compiler/systems/t_linux.pas

+ 1 - 1
compiler/ogcoff.pas

@@ -699,7 +699,7 @@ implementation
             v.entry:=SwapEndian(v.entry);
             v.entry:=SwapEndian(v.entry);
             v.text_start:=SwapEndian(v.text_start);
             v.text_start:=SwapEndian(v.text_start);
 {$ifndef cpu64bitaddr}
 {$ifndef cpu64bitaddr}
-            v.data_start:SwapEndian(v.data_start);
+            v.data_start:=SwapEndian(v.data_start);
 {$endif cpu64bitaddr}
 {$endif cpu64bitaddr}
             v.ImageBase:=SwapEndian(v.ImageBase);
             v.ImageBase:=SwapEndian(v.ImageBase);
             v.SectionAlignment:=SwapEndian(v.SectionAlignment);
             v.SectionAlignment:=SwapEndian(v.SectionAlignment);

+ 8 - 8
compiler/systems/t_linux.pas

@@ -439,9 +439,9 @@ begin
   target_opt:=' -b elf64-sparc';
   target_opt:=' -b elf64-sparc';
   emulation_opt:=' -m elf64_sparc';
   emulation_opt:=' -m elf64_sparc';
 {$endif}
 {$endif}
-{$ifdef arm}       target_opt='';{$endif} {unknown :( }
-{$ifdef aarch64}   target_opt='';{$endif} {unknown :( }
-{$ifdef m68k}      target_opt='';{$endif} {unknown :( }
+{$ifdef arm}       target_opt:='';{$endif} {unknown :( }
+{$ifdef aarch64}   target_opt:='';{$endif} {unknown :( }
+{$ifdef m68k}      target_opt:='';{$endif} {unknown :( }
 {$ifdef mips}
 {$ifdef mips}
   {$ifdef mipsel}
   {$ifdef mipsel}
   platformopt:=' -EL';
   platformopt:=' -EL';
@@ -450,13 +450,13 @@ begin
   {$endif}
   {$endif}
 {$endif}
 {$endif}
 {$ifdef riscv32}
 {$ifdef riscv32}
-  target_opt=' -m elf32lriscv';
+  target_opt:=' -m elf32lriscv';
 {$endif}
 {$endif}
 {$ifdef riscv64}
 {$ifdef riscv64}
-  target_opt=' -m elf64lriscv';
+  target_opt:=' -m elf64lriscv';
 {$endif}
 {$endif}
 {$ifdef loongarch64}
 {$ifdef loongarch64}
-  target_opt='';
+  target_opt:='';
 {$endif}
 {$endif}
 
 
 {$ifdef powerpc64}
 {$ifdef powerpc64}
@@ -465,7 +465,7 @@ begin
     begin
     begin
       target_opt:=' -b elf64-powerpcle';
       target_opt:=' -b elf64-powerpcle';
       emulation_opt:=' -m elf64lppc';
       emulation_opt:=' -m elf64lppc';
-    end;
+    end
   else
   else
     begin
     begin
       target_opt:=' -b elf64-powerpc';
       target_opt:=' -b elf64-powerpc';
@@ -481,7 +481,7 @@ begin
   else
   else
     begin
     begin
       target_opt:=' -b elf32-xtensa-be';
       target_opt:=' -b elf32-xtensa-be';
-      emluation_opt:=' -m elf32xtensa';
+      emulation_opt:=' -m elf32xtensa';
     end;
     end;
   if target_info.abi=abi_xtensa_call0 then
   if target_info.abi=abi_xtensa_call0 then
     platformopt:=platformopt+' --abi-call0'
     platformopt:=platformopt+' --abi-call0'