mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-28 02:50:21 +08: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
|
||||
|
||||
|
||||
#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))))
|
||||
|
|
Loading…
Reference in a new issue