fix TRACE macro
modified: stub/src/arm64-linux.elf-entry.S modified: stub/src/arm64-linux.elf-fold.S
This commit is contained in:
@@ -81,7 +81,9 @@ __NR_write = 0x40 // 64
|
|||||||
#define DEBUG 0
|
#define DEBUG 0
|
||||||
#endif /*}*/
|
#endif /*}*/
|
||||||
#if DEBUG //{
|
#if DEBUG //{
|
||||||
#define TRACE(arg) stp lr,x0,[sp,#-2*8]!; mov x0,arg; bl trace; ldr lr,[sp],#2*8
|
#define TRACE(arg) \
|
||||||
|
stp lr,x0,[sp,#-2*8]!; mov x0,arg; bl trace; \
|
||||||
|
ldp lr,x0,[sp],#2*8
|
||||||
#else //}{
|
#else //}{
|
||||||
#define TRACE(arg) /*empty*/
|
#define TRACE(arg) /*empty*/
|
||||||
#endif //}
|
#endif //}
|
||||||
|
|||||||
@@ -58,7 +58,9 @@ PATH_MAX= 4096
|
|||||||
#define DEBUG 0
|
#define DEBUG 0
|
||||||
#endif /*}*/
|
#endif /*}*/
|
||||||
#if DEBUG //{
|
#if DEBUG //{
|
||||||
#define TRACE(arg) stp lr,x0,[sp,#-2*8]!; mov x0,arg; bl trace; ldr lr,[sp],#2*8
|
#define TRACE(arg) \
|
||||||
|
stp lr,x0,[sp,#-2*8]!; mov x0,arg; bl trace; \
|
||||||
|
ldp lr,x0,[sp],#2*8
|
||||||
#else //}{
|
#else //}{
|
||||||
#define TRACE(arg) /*empty*/
|
#define TRACE(arg) /*empty*/
|
||||||
#endif //}
|
#endif //}
|
||||||
|
|||||||
Reference in New Issue
Block a user