Userspace: Remove unnecessary mov instruction from crt0
This commit is contained in:
parent
ddaaf89c87
commit
32ba4d07e2
|
@ -23,8 +23,7 @@ _start:
|
|||
|
||||
movl $__init_array_start, %ebx
|
||||
jmp 2f
|
||||
1: movl (%ebx), %eax
|
||||
call *%eax
|
||||
1: call *(%ebx)
|
||||
addl $4, %ebx
|
||||
2: cmpl $__init_array_end, %ebx
|
||||
jne 1b
|
||||
|
|
|
@ -24,8 +24,7 @@ _start:
|
|||
|
||||
movq $__init_array_start, %rbx
|
||||
jmp 2f
|
||||
1: movq (%rbx), %rax
|
||||
call *%rax
|
||||
1: call *(%rbx)
|
||||
addq $8, %rbx
|
||||
2: cmpq $__init_array_end, %rbx
|
||||
jne 1b
|
||||
|
|
Loading…
Reference in New Issue