From 8872d9680cc3b2a91e1a818f02f9befa7811ceb7 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Tue, 7 Feb 2017 13:20:52 +0000 Subject: Addressed compiler differences. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10096 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/common/ports/e200/compilers/GCC/chcoreasm.S | 4 ++++ os/common/ports/e200/compilers/GCC/ivor.S | 4 ++++ os/common/startup/e200/compilers/GCC/crt0.S | 4 ++++ os/common/startup/e200/devices/SPC560Dxx/boot.S | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/os/common/ports/e200/compilers/GCC/chcoreasm.S b/os/common/ports/e200/compilers/GCC/chcoreasm.S index e031eb801..80e6dd0eb 100644 --- a/os/common/ports/e200/compilers/GCC/chcoreasm.S +++ b/os/common/ports/e200/compilers/GCC/chcoreasm.S @@ -46,6 +46,10 @@ #include "chconf.h" #include "chcore.h" +#if defined(__HIGHTEC__) +#define e_subi subi +#endif + #if !defined(__DOXYGEN__) /* diff --git a/os/common/ports/e200/compilers/GCC/ivor.S b/os/common/ports/e200/compilers/GCC/ivor.S index 980c17ade..8f1c61c65 100644 --- a/os/common/ports/e200/compilers/GCC/ivor.S +++ b/os/common/ports/e200/compilers/GCC/ivor.S @@ -41,6 +41,10 @@ #include "chconf.h" #include "chcore.h" +#if defined(__HIGHTEC__) +#define se_beq beq +#endif + #if !defined(__DOXYGEN__) .section .handlers, "ax" diff --git a/os/common/startup/e200/compilers/GCC/crt0.S b/os/common/startup/e200/compilers/GCC/crt0.S index ebd363781..7015cc910 100644 --- a/os/common/startup/e200/compilers/GCC/crt0.S +++ b/os/common/startup/e200/compilers/GCC/crt0.S @@ -34,6 +34,10 @@ #define TRUE 1 #endif +#if defined(__HIGHTEC__) +#define se_bge bge +#endif + /*===========================================================================*/ /* Module pre-compile time settings. */ /*===========================================================================*/ diff --git a/os/common/startup/e200/devices/SPC560Dxx/boot.S b/os/common/startup/e200/devices/SPC560Dxx/boot.S index 6e32e2e5a..e559f713a 100644 --- a/os/common/startup/e200/devices/SPC560Dxx/boot.S +++ b/os/common/startup/e200/devices/SPC560Dxx/boot.S @@ -24,6 +24,10 @@ #include "boot.h" +#if defined(__HIGHTEC__) +#define se_bge bge +#endif + #if !defined(__DOXYGEN__) /* BAM record.*/ -- cgit v1.2.3