From 70c4176105e08127da444a6419e1ad6d4c725dd7 Mon Sep 17 00:00:00 2001 From: def Date: Fri, 31 Jul 2015 23:16:52 +0200 Subject: Add Mipsel CPU support (untested) --- compiler/platform.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compiler/platform.nim') diff --git a/compiler/platform.nim b/compiler/platform.nim index 4dd5d8836..f52017af7 100644 --- a/compiler/platform.nim +++ b/compiler/platform.nim @@ -158,7 +158,7 @@ type TSystemCPU* = enum # Also add CPU for in initialization section and # alias conditionals to condsyms (end of module). cpuNone, cpuI386, cpuM68k, cpuAlpha, cpuPowerpc, cpuPowerpc64, - cpuSparc, cpuVm, cpuIa64, cpuAmd64, cpuMips, cpuArm, + cpuSparc, cpuVm, cpuIa64, cpuAmd64, cpuMips, cpuMipsel, cpuArm, cpuJS, cpuNimrodVM, cpuAVR type @@ -180,6 +180,7 @@ const (name: "ia64", intSize: 64, endian: littleEndian, floatSize: 64, bit: 64), (name: "amd64", intSize: 64, endian: littleEndian, floatSize: 64, bit: 64), (name: "mips", intSize: 32, endian: bigEndian, floatSize: 64, bit: 32), + (name: "mipsel", intSize: 32, endian: littleEndian, floatSize: 64, bit: 32), (name: "arm", intSize: 32, endian: littleEndian, floatSize: 64, bit: 32), (name: "js", intSize: 32, endian: bigEndian,floatSize: 64,bit: 32), (name: "nimrodvm", intSize: 32, endian: bigEndian, floatSize: 64, bit: 32), -- cgit 1.4.1-2-gfad0