From 90775638b1f2b6d29d14c484c056ab74157a7ebd Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Mon, 8 Jun 2020 11:07:45 +0200 Subject: [PATCH] Revert "fix: osx doesn't like target directive" This reverts commit 690db96a7d732e3eaf4c8b9ecab87f31a95e6a9e. --- include/common.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/common.h b/include/common.h index cb0962b56..3c6245e52 100644 --- a/include/common.h +++ b/include/common.h @@ -72,12 +72,8 @@ extern int DBGLEVEL; #endif -#if defined(__APPLE__) -#define RAMFUNC __attribute((long_call, section(".ramfunc"))) -#else +//#define RAMFUNC __attribute((long_call, section(".ramfunc"))) #define RAMFUNC __attribute((long_call, section(".ramfunc"))) __attribute__((target("arm"))) -#endif - #ifndef ROTR # define ROTR(x,n) (((uintmax_t)(x) >> (n)) | ((uintmax_t)(x) << ((sizeof(x) * 8) - (n))))