In the default case, we don't need to use the stack, we can save r7 with
ip register (that what does eglibc).
This allow to fix vfork data corruption
(see 3884bfe966), because vfork now don't
use the stack.
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			280 B
		
	
	
	
		
			ArmAsm
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			280 B
		
	
	
	
		
			ArmAsm
		
	
	
	
	
	
/* autogenerated by gensyscalls.py */
 | 
						|
#include <machine/asm.h>
 | 
						|
#include <sys/linux-syscalls.h>
 | 
						|
 | 
						|
ENTRY(_exit_thread)
 | 
						|
    mov     ip, r7
 | 
						|
    ldr     r7, =__NR_exit
 | 
						|
    swi     #0
 | 
						|
    mov     r7, ip
 | 
						|
    movs    r0, r0
 | 
						|
    bxpl    lr
 | 
						|
    b       __set_syscall_errno
 | 
						|
END(_exit_thread)
 |