2
0
Эх сурвалжийг харах

+ xtensa-linux support for several packages

git-svn-id: trunk@45119 -
florian 5 жил өмнө
parent
commit
1395b2850e

+ 2 - 2
packages/libffi/src/ffi.pp

@@ -272,8 +272,8 @@ const
   FFI_TRAMPOLINE_SIZE = 20;
 {$elseif defined(CPUMIPS64)}
   FFI_TRAMPOLINE_SIZE = 56;
-#endif
-
+{$elseif defined(CPUXTENSA)}
+  FFI_TRAMPOLINE_SIZE = 24;
 {$endif}
 
 {

+ 1 - 1
packages/rtl-extra/src/linux/unixsock.inc

@@ -13,7 +13,7 @@
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 }
 
-{$if not defined(cpux86_64) and not defined(cpuaarch64) and not defined(cpuriscv32) and not defined(cpuriscv64) and not defined(NO_SYSCALL_SOCKETCALL)}
+{$if not defined(cpux86_64) and not defined(cpuaarch64) and not defined(cpuriscv32) and not defined(cpuriscv64) and not defined(cpuxtensa) and not defined(NO_SYSCALL_SOCKETCALL)}
   {$define NEED_SOCKETCALL}
 {$endif}
 

+ 2 - 2
packages/rtl-extra/src/unix/ipc.pp

@@ -546,7 +546,7 @@ type
     msg_lrpid  : ipc_pid_t;
     pad1 : qword;
     pad2 : qword;
-{$ENDIF}    
+{$ENDIF}
   end;
 {$else}
   {$if defined(Darwin)}
@@ -888,7 +888,7 @@ uses Syscall;
 
 {$ifndef FPC_USE_LIBC}
  {$if defined(Linux)}
-  {$if defined(cpux86_64) or defined(cpuaarch64) or defined(cpuriscv32) or defined(cpuriscv64) or defined(NO_SYSCALL_IPC)}
+  {$if defined(cpux86_64) or defined(cpuaarch64) or defined(cpuriscv32) or defined(cpuriscv64) or defined(cpuxtensa) or defined(NO_SYSCALL_IPC)}
     {$i ipcsys.inc}
   {$else}
     {$i ipccall.inc}