mirror of
https://github.com/upx/upx
synced 2025-10-05 19:20:23 +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
|
#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 //}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user