Un-debug stubs for 32-bit shared libraries

modified:   stub/arm.v4a-linux.elf-so_fold.h
	modified:   stub/arm.v5a-linux.elf-so_fold.h
	modified:   stub/i386-linux.elf-so_fold.h
	modified:   stub/src/arm.v4a-linux.elf-so_entry.S
This commit is contained in:
John Reiser
2023-03-23 16:27:44 -07:00
parent 06fae05910
commit 0bf8ff151e
4 changed files with 4481 additions and 3726 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+2 -3
View File
@@ -137,10 +137,9 @@ _=-1+_ // one less word on stack
_start: .globl _start // in Thumb mode (via PackLinuxElf32::pack3) _start: .globl _start // in Thumb mode (via PackLinuxElf32::pack3)
bx pc; nop // but switch to ARM until debugged bx pc; nop // but switch to ARM until debugged
.arm .arm
#if 1|DEBUG //{
nop // bkpt // for debugging
#else //}{
nop nop
#if 0|DEBUG //{
bkpt
#endif //} #endif //}
// argc,argv,envp, r3 convenience, r4-r7 callee-saved, lr ret_addr // argc,argv,envp, r3 convenience, r4-r7 callee-saved, lr ret_addr
stmfd sp!,{r0,r1,r2, r3, r4,r5,r6,r7, lr} stmfd sp!,{r0,r1,r2, r3, r4,r5,r6,r7, lr}