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
commit 90775638b1

View file

@ -72,12 +72,8 @@ extern int DBGLEVEL;
#endif #endif
#if defined(__APPLE__) //#define RAMFUNC __attribute((long_call, section(".ramfunc")))
#define RAMFUNC __attribute((long_call, section(".ramfunc")))
#else
#define RAMFUNC __attribute((long_call, section(".ramfunc"))) __attribute__((target("arm"))) #define RAMFUNC __attribute((long_call, section(".ramfunc"))) __attribute__((target("arm")))
#endif
#ifndef ROTR #ifndef ROTR
# define ROTR(x,n) (((uintmax_t)(x) >> (n)) | ((uintmax_t)(x) << ((sizeof(x) * 8) - (n)))) # define ROTR(x,n) (((uintmax_t)(x) >> (n)) | ((uintmax_t)(x) << ((sizeof(x) * 8) - (n))))