mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
Revert "fix: osx doesn't like target directive"
This reverts commit 690db96a7d
.
This commit is contained in:
parent
e756b9c908
commit
90775638b1
1 changed files with 1 additions and 5 deletions
|
@ -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))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue