Revert "fix: osx doesn't like target directive"

This reverts commit 690db96a7d.
This commit is contained in:
Philippe Teuwen 2020-06-08 11:07:45 +02:00
parent e756b9c908
commit 90775638b1

View file

@ -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))))