• Russ Cox's avatar
    6g: simplify trampoline by postponing load. · 5a67ea38
    Russ Cox authored
    	TEXT tramp
    		MOVQ 8(SP), AX
    		ADDQ $40, AX
    		MOVQ AX, 8(SP)
    		JMP oldfunc
    
    	is now
    
    	TEXT tramp
    		ADDQ $40, 8(SP)
    		JMP oldfunc
    
    	and if s/40/0/, then it simplifies to
    
    	TEXT tramp
    		JMP oldfunc
    
    	(the tramp is still needed to satisfy
    	symbol references from other object files)
    
    R=ken
    OCL=28377
    CL=28381
    5a67ea38
Name
Last commit
Last update
..
cmd Loading commit data...
lib Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach_amd64 Loading commit data...
old/c Loading commit data...
pkg/debug/macho/testdata Loading commit data...
runtime Loading commit data...
Make.conf Loading commit data...
all.bash Loading commit data...
clean.bash Loading commit data...
make.bash Loading commit data...
quietgcc.bash Loading commit data...
run.bash Loading commit data...
sudo.bash Loading commit data...