summaryrefslogtreecommitdiff
path: root/riscv_new/compiler/riscv32/cputarg.pas
diff options
context:
space:
mode:
Diffstat (limited to 'riscv_new/compiler/riscv32/cputarg.pas')
-rw-r--r--riscv_new/compiler/riscv32/cputarg.pas84
1 files changed, 84 insertions, 0 deletions
diff --git a/riscv_new/compiler/riscv32/cputarg.pas b/riscv_new/compiler/riscv32/cputarg.pas
new file mode 100644
index 0000000000..0643083eee
--- /dev/null
+++ b/riscv_new/compiler/riscv32/cputarg.pas
@@ -0,0 +1,84 @@
+{
+ Copyright (c) 2001-2002 by Peter Vreman
+
+ Includes the Risc-V32 dependent target units
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+ ****************************************************************************
+}
+unit cputarg;
+
+{$i fpcdefs.inc}
+
+interface
+
+
+implementation
+
+ uses
+ systems { prevent a syntax error when nothing is included }
+
+{**************************************
+ Targets
+**************************************}
+
+ {$ifndef NOTARGETLINUX}
+ ,t_linux
+ {$endif}
+ {$ifndef NOTARGETEMBEDDED}
+ ,t_embed
+ {$endif}
+
+{**************************************
+ Assemblers
+**************************************}
+
+ {$ifndef NOAGRVGAS}
+ ,agrvgas
+ {$endif}
+
+{**************************************
+ Assembler Readers
+**************************************}
+
+ {$ifndef NoRaRVGas}
+ ,rarv32gas
+ {$endif NoRaRVGas}
+
+{**************************************
+ Debuginfo
+**************************************}
+
+ {$ifndef NoDbgStabs}
+ ,dbgstabs
+ {$endif NoDbgStabs}
+ {$ifndef NoDbgStabx}
+ ,dbgstabx
+ {$endif NoDbgStabx}
+ {$ifndef NoDbgDwarf}
+ ,dbgdwarf
+ {$endif NoDbgDwarf}
+
+{**************************************
+ Optimizer
+**************************************}
+
+ {$ifndef NOOPT}
+ , aoptcpu
+ {$endif NOOPT}
+ ;
+
+end.