We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6354d48 commit f02ffb8Copy full SHA for f02ffb8
src/libstd/sys/sgx/abi/entry.S
@@ -115,11 +115,11 @@ IMAGE_BASE:
115
.type elf_entry,function
116
elf_entry:
117
/* print error message */
118
- movq $1,%rax /* write() syscall */
119
- movq $2,%rdi /* write to stderr (fd 2) */
+ movq $2,%rdi /* write to stderr (fd 2) */
120
lea .Lelf_entry_error_msg(%rip),%rsi
121
movq $.Lelf_entry_error_msg_end-.Lelf_entry_error_msg,%rdx
122
.Lelf_entry_call:
+ movq $1,%rax /* write() syscall */
123
syscall
124
test %rax,%rax
125
jle .Lelf_exit /* exit on error */
0 commit comments