Creating a C Library: Difference between revisions

m
Fix the null rip pointer not being in the first stack frame linked list entry.
[unchecked revision][unchecked revision]
(Link to the global constructors article, fix symbol sizes)
m (Fix the null rip pointer not being in the first stack frame linked list entry.)
Line 27:
# Set up end of the stack frame linked list.
movq $0, %rbp
pushq %rbp # rip=0
pushq %rbp # rbp=0
movq %rsp, %rbp
 
Anonymous user