From 3e2b102a44a34a033959760a22cd488becf3c6d6 Mon Sep 17 00:00:00 2001 From: pierre Date: Thu, 10 Jan 2019 12:18:22 +0000 Subject: [PATCH] Add missing support for -PriscvXX and -Psparc64 git-svn-id: trunk@40833 - --- compiler/utils/fpc.pp | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/compiler/utils/fpc.pp b/compiler/utils/fpc.pp index b531da3f9a..0660102233 100644 --- a/compiler/utils/fpc.pp +++ b/compiler/utils/fpc.pp @@ -231,8 +231,14 @@ program fpc; cpusuffix:='a64' else if processorstr='arm' then cpusuffix:='arm' + else if processorstr='avr' then + cpusuffix:='avr' else if processorstr='i386' then cpusuffix:='386' + else if processorstr='i8086' then + cpusuffix:='8086' + else if processorstr='jvm' then + cpusuffix:='jvm' else if processorstr='m68k' then cpusuffix:='68k' else if processorstr='mips' then @@ -243,16 +249,16 @@ program fpc; cpusuffix:='ppc' else if processorstr='powerpc64' then cpusuffix:='ppc64' + else if processorstr='riscv32' then + cpusuffix:='rv32' + else if processorstr='riscv64' then + cpusuffix:='rv64' else if processorstr='sparc' then cpusuffix:='sparc' + else if processorstr='sparc64' then + cpusuffix:='sparc64' else if processorstr='x86_64' then cpusuffix:='x64' - else if processorstr='jvm' then - cpusuffix:='jvm' - else if processorstr='i8086' then - cpusuffix:='8086' - else if processorstr='avr' then - cpusuffix:='avr' else error('Illegal processor type "'+processorstr+'"');