blob: 1a38e5add1c66d28bddd69b64ecffe162ccd99ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
.ifndef _main_exit_s_file
_main_exit_s_file:
# exitcode -> | cont (unused, should be 0) |
.thunkcode main_exit
mov 010(%rsi), %rdi # result goes to syscall exitcode
mov $60, %rax # exit=60
syscall # exit %rdi
# TODO this is a "case" kind of thunk so it's quite likely that it really
# doesn't need the continuation.
.endif # _main_exit_s_file
|