diff options
author | florian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2020-04-26 17:24:30 +0000 |
---|---|---|
committer | florian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2020-04-26 17:24:30 +0000 |
commit | 719bbeab4e68c03efbe5fa7f55d07ccf341554f9 (patch) | |
tree | f61e534414786d33e08c954eeba3481fd8e399d0 | |
parent | 05c8099ce49952cfbc1e5804711bfa95df1346ad (diff) | |
download | fpc-719bbeab4e68c03efbe5fa7f55d07ccf341554f9.tar.gz |
+ xtensa-linux support for several packages
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@45119 3ad0048d-3df7-0310-abae-a5850022a9f2
-rw-r--r-- | packages/libffi/src/ffi.pp | 4 | ||||
-rw-r--r-- | packages/rtl-extra/src/linux/unixsock.inc | 2 | ||||
-rw-r--r-- | packages/rtl-extra/src/unix/ipc.pp | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/packages/libffi/src/ffi.pp b/packages/libffi/src/ffi.pp index fa41898ee2..2e6de0af0c 100644 --- a/packages/libffi/src/ffi.pp +++ b/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} { diff --git a/packages/rtl-extra/src/linux/unixsock.inc b/packages/rtl-extra/src/linux/unixsock.inc index 45a52dd33d..e86a4cf5c2 100644 --- a/packages/rtl-extra/src/linux/unixsock.inc +++ b/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} diff --git a/packages/rtl-extra/src/unix/ipc.pp b/packages/rtl-extra/src/unix/ipc.pp index 0daf1b0329..8b4367d038 100644 --- a/packages/rtl-extra/src/unix/ipc.pp +++ b/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} |