mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
fix TRACE macro
modified: stub/src/arm64-linux.elf-entry.S modified: stub/src/arm64-linux.elf-fold.S
This commit is contained in:
parent
79e65503a9
commit
9dfd624901
|
@ -81,7 +81,9 @@ __NR_write = 0x40 // 64
|
|||
#define DEBUG 0
|
||||
#endif /*}*/
|
||||
#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 //}{
|
||||
#define TRACE(arg) /*empty*/
|
||||
#endif //}
|
||||
|
|
|
@ -58,7 +58,9 @@ PATH_MAX= 4096
|
|||
#define DEBUG 0
|
||||
#endif /*}*/
|
||||
#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 //}{
|
||||
#define TRACE(arg) /*empty*/
|
||||
#endif //}
|
||||
|
|
Loading…
Reference in New Issue
Block a user